Open maxdobeck opened 6 years ago
Ended up creating two remotes:
$ git remote -v
heroku-prod https://git.heroku.com/rugged-wind-cave-81042.git (fetch)
heroku-prod https://git.heroku.com/rugged-wind-cave-81042.git (push)
heroku-test https://git.heroku.com/shielded-stream-75107.git (fetch)
heroku-test https://git.heroku.com/shielded-stream-75107.git (push)
origin git@github.com:maxdobeck/gatekeeper.git (fetch)
origin git@github.com:maxdobeck/gatekeeper.git (push)
Docker has been great for this. Current variables needed:
-e PGURL=postgres://sfdev:sfdev@localhost:5432/scheduler_fairy_dev -e GO_ENV=dev -p 3050:3050 -e PORT=3050
Edit: Not sure what this comment is about. Ignoring for now.
Basically just run this: https://devcenter.heroku.com/articles/getting-started-with-go#use-a-database and add --remote or --app to the end of a heroku Command Line command.