-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Harsimran Singh Maan edited this page Nov 22, 2020
·
4 revisions
Welcome to the trober wiki!
Create the postgres database on heroku
heroku addons:create heroku-postgresql:hobby-dev -a app-name
This create a database url.
Add the service account secret for firebase
heroku config:set -a app-name FIREBASE_SERVICE_ACCOUNT_JSON_ENCODED=$(cat ~/serviceaccount.json | base64)
Seed the database with the first user
heroku run -a app-name /bin/trober task db:seed
heroku run -a app-name /bin/trober migrate down
heroku run -a app-name /bin/trober migrate up
- Install https://postgresapp.com/
- heroku pg:psql --app app-name