This repository was archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Deployment
Gus edited this page Apr 9, 2018
·
2 revisions
- Login with your heroku credentials
heroku login- Create your application
heroku apps:create --buildpack heroku/python- Add redis add-on for celery worker
heroku addons:create heroku-redis -a your_app_name- Add PostgreSQL add-on for database
heroku addons:create heroku-postgresql- Verify
REDISandDATABASEexist
heroku addons
- Configure your environment variables
# NOTE: for heroku, you do not need to set the `DATABASE_URL` or `REDIS_URL`
# environment variables, since they are set automatically with the addons
heroku config:set ADMIN_EMAIL=email@email.com
heroku config:set ADMIN_PASSWORD=some_password
heroku config:set GITHUB_API_TOKEN=your_github_api_token
heroku config:set GITHUB_ORG_LOGIN=the_name_of_your_organization
heroku config:set TRELLO_ORG_NAME=your_trello_organization_name
heroku config:set TRELLO_API_KEY=your_trello_public_key
heroku config:set TRELLO_API_TOKEN=a_trello_token_you_generate- Push the code to heroku
git push heroku master- Start the celery worker on a dyno
heroku ps:scale worker=1- Open the application
heroku open