Tuto play but outdated (play 1.x)
Play infos ok
http://desolate-brook-9012.herokuapp.com/
mysql://<username>:<pwd>@us-cdbr-east-04.cleardb.com/heroku_blablabla
Heroku commands to set up env var with user/pwd
$ heroku config:set PPRB_DB_USER=<username>
$ heroku config:set PPRB_DB_PWD=<pwd>
$ heroku create
$ heroku ps
marco@debianmarco:~/dev/poc-play-rest-backend$ heroku ps
=== web (1X): `target/start -Dhttp.port=${PORT} ${JAVA_OPTS} -DapplyEvolutions.default=true -Ddb.default.driver=com.mysql.jdbc.Driver -Ddb.default.url=${CLEARDB_DATABASE_URL}`
web.1: crashed 2014/01/10 13:57:53 (~ 8m ago)
$ git push heroku master
$ heroku ps:scale web=1
$ heroku logs > logs/heroku.log
heroku bash: target/start: No such file or directory
heroku
stackoverflow.com : heroku app not found Need to update the remote entry in project/.git/config
file with the new name !!