Send sats to your favorite open source contributors! Embed a button in your README and get tips for your work. See an example of that right here:
My pubkey starts with 02458b08
First setup your environment variables, copy .env.example
into a file named .env
. Review each one and follow the instructions for the ones that need input.
To start the backend:
cd backend
- Setup virtualenv (recommended, not required)
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
flask db upgrade
FLASK_APP=app.py FLASK_ENV=development flask run
To start the frontend:
cd frontend
yarn && yarn dev
- Build the frontend with 'yarn && yarn build'
- Run
FLASK_APP=app.py FLASK_ENV=production flask run
This app was built to deploy on heroku by doing the following:
- Create a new heroku app and link it to the repo
- Setup your environment variables based on
.env.example
- Provision a PostgreSQL database addon
- Add the subdir buildpack
heroku buildpacks:set https://github.com/negativetwelve/heroku-buildpack-subdir
git push heroku master