-
Notifications
You must be signed in to change notification settings - Fork 0
Heroku
Sundin edited this page Mar 4, 2021
·
3 revisions
Here are some useful Heroku CLI commands in addition to the ones specified in the README.
This is how we created the hompi-backend app on Heroku in the first place:
heroku apps:create hompi-backend --region eu
Then we added a database:
heroku addons:create heroku-postgresql:hobby-dev --app=hompi-backend
heroku access:add --app=hompi-backend <email>
We have manually added the following environment variables: DJANGO_SUPERUSER_EMAIL
, DJANGO_SUPERUSER_PASSWORD
and DJANGO_SUPERUSER_USERNAME
.
heroku config --app=hompi-backend