- 
Setup virtualenv virtualenv -p `which python3` env source env/bin/activate
- 
Install requirements pip install -U pip pip install -r requirements.txt pip install -r requirements_dev.txt
- 
Run docker docker-compose -f docker-compose-dev.yml up
- 
Run migrations python manage.py db upgrade
- 
Run api python manage.py runserver
- 
Run py.test via pytest-watch (pytest-watch re-runs py.test when a file in project changes) ptw src
- 
Login to Heroku Dashboard 
- 
Create new application 
- 
Go to project directory on your machine and execute heroku login heroku git:remote -a <your-app-name> heroku buildpacks:add --index 1 heroku/nodejs heroku buildpacks:add --index 2 heroku/python
- 
Add addons heroku addons:create heroku-postgresql:hobby-dev
- 
Setup environment variables heroku config:set WEB_CONCURRENCY=3 heroku config:set API_CONFIG=config.Production heroku config:set SECRET_KEY=<random-string>
- 
Run migrations heroku run python manage.py db upgrade
- 
Push app to your newly created heroku instance git push -u heroku master