4 ms·
Play support came out a while ago: http://blog.heroku.com/archives/2011/8/29/play/ http://blog.heroku.com/archives/2011/8/29/play/ One trick with play-scala i
by hp 15y ago
Play support came out a while ago:
http://blog.heroku.com/archives/2011/8/29/play/ http://blog.heroku.com/archives/2011/8/29/play/
One trick with play-scala is that the default welcome page is broken because it depends on a module that's only enabled in dev mode, and Heroku runs play in prod mode. So replace the default welcome page with a real page.
The announcement today is for SBT-based projects. Anything you can build with SBT should be possible to use. You have to figure out how to honor the Heroku configuration variables (namely PORT for the port to listen on) and you have to figure out how to get an executable command, for example with https://github.com/typesafehub/xsbt-start-script-plugin https://github.com/typesafehub/xsbt-start-script-plugin
We put up two examples today, the Finagle one and the larger "web words" one: https://github.com/typesafehub/webwords/tree/heroku-devcenter/ https://github.com/typesafehub/webwords/tree/heroku-devcente...
Web words example shows how to run Jetty, and you should be able to drop various web frameworks into Jetty.
- Mongoose 15y agoI'm curious how this will work with Play 2.0, which will be sbt-based.