I am following the directions here
http://blog.heroku.com/archives/2011/8/29/play/
but I do play run
and then git push heroku master
but a procfile is not found.
-----> No Procfile found. Will use process:
play run --http.port=$PORT $PLAY_OPTS
heroku master
while the app is running. Am I reading that wrong?$PORT
and $PLAY_OPTS
for mydomain.herokuapp.com?%prod
in application.conf?You need to create a file named Procfile in the root of your project and for Play it should contain
web: play run --http.port=$PORT $PLAY_OPTS
When you then deploy your application the $PORT and $PLAY_OPTS will be set by heroku when the application is started.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With