tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

Heroku deployment #32

Closed raulraja closed 10 years ago

raulraja commented 10 years ago

Being dependent on node, npm etc... to actually perform the build make projects using play-yeoman to not build on Heroku with their standard Scala sbt based buildpack.

I quickly hacked a buildpack mixing in all the dependencies to get a play-yeoman based project running on Heroku.

It is highly experimental and may not work for your project. Use it at your own risk. Thought it may be useful or a starting point for others.

If you are deploying to Heroku or other buildpack based PAAS and think it's worth improving we could create a real custom buildpack and publish it once is tested and proves itself useful.

https://github.com/47deg/heroku-buildpack-scala

milliondreams commented 10 years ago

Great going Raul!

sajit commented 10 years ago

Hi, @raulraja do you have an example of how you got this working. I cloned the yo-demo from the play-yeoman repo, and ran a create heroku with your forked buildpack. However when I git push heroku master, I get the following error ! Push rejected, no Cedar-supported app detected

fastf0rward commented 9 years ago

Hi @raulraja, was there ever a follow-up on your buildpack? I'm confronted with the same need.. and can't seem find an up-to-date buildpack that loads both Play and Node/Grunt/Compass etc. I guess it should be a combination of the Scala buildpack (https://github.com/heroku/heroku-buildpack-scala/blob/master/bin/compile) used to deploy Play apps and the Node-Grunt buildpack (https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt/blob/master/bin/compile).

raulraja commented 9 years ago

The buildpack posted above contains the latest code and it was working back them but we have not had the need ever since so I'm not sure if it's still up to date.

fastf0rward commented 9 years ago

Ok. Thanks for the quick response!