8000 Home · bigpanther/trober Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Harsimran Singh Maan edited this page Nov 22, 2020 · 4 revisions

Welcome to the trober wiki!

Deployment

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

Troubleshooting

heroku run -a app-name /bin/trober migrate down
heroku run -a app-name /bin/trober migrate up

Database connectivity

  1. Install https://postgresapp.com/
  2. heroku pg:psql --app app-name
Clone this wiki locally
0