java - How do I run a Play Framework 2 app in dev mode on Heroku? -
i created staging app on heroku, , run in dev mode. also, have procfile set use application.production.conf, use application.staging.conf in staging app. how can this?
use config variable set this. like:
procfile:
web: target/start -dconfig.file=${config_file}
then set config each environment:
heroku config:add --app my-staging config_file=application.staging.conf heroku config:add --app my-prod config_file=application.production.conf
Comments
Post a Comment