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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -