rubyforgood / Flaredown

Flaredown web app and API
http://www.flaredown.com
GNU General Public License v3.0
39 stars 15 forks source link

Setup staging #661

Open johnpaulashenfelter opened 1 year ago

johnpaulashenfelter commented 1 year ago

Setup a new staging environment

johnpaulashenfelter commented 1 year ago

Frontend: https://flaredown-staging-webapp-749110b0a96e.herokuapp.com

Backend: https://flaredown-staging-api-fc0ece27610a.herokuapp.com

johnpaulashenfelter commented 1 year ago

Deploying:

heroku config:set APP_BASE=frontend -a flaredown-staging-webapp
heroku git:remote -a flaredown-staging-webapp
git push heroku master

and

heroku config:set APP_BASE=backend -a flaredown-staging-webapp
heroku git:remote -a flaredown-staging-api
git push heroku master
Tonkpils commented 1 year ago

@johnpaulashenfelter One thing that I'm thinking is missing from staging is proper mongoDB credentials. The app seems to be failing in staging due to a mongoDB issue on the user.