Take Heroku Review App Environmental Variable and set ROOT_URL on Pull Requests


#1

Is their a way for meteor to detect the heroku app name and set the ROOT_URL accordingly?

Heroku lets you set up automatic dyno spin ups on github pull request which is amazing even if I have to go in an manually set up the ROOT_URL as after the initial pull request each time I push to that branch it will auto deploy the latest commits really handy in addition to CI.

So the issue is they only allow post deployment scripts to be run once, the example Heroku gives is seeding the fresh database in rails.


#2

Have a look at this: https://github.com/AdmitHub/meteor-buildpack-horse/issues/185