3 ms·
anybody knows if this means that something like a lift project or a scala play project now work on heroku? I only see a finagle example but that's not a web fra
by ilcavero 15y ago
anybody knows if this means that something like a lift project or a scala play project now work on heroku? I only see a finagle example but that's not a web framework
- hp 15y agoPlay 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.