Play! 2 on dotCloud
Example running instance: http://play2example-mchv.dotcloud.com/
You want this if:
- you use dotCloud
- you want to deploy Play! 2 apps
To test this, use the good old "git clone / dotcloud push" method:
git clone git://github.com/mchv/play2-on-dotcloud.git
To deploy your own application, put its code source into application folder
Don't forget to do one of the following:
dotcloud pushwith the
--allflag (will force the use of rsync over git),
- rm the
.gitdirectory (the CLI will gracefully fallback on rsync).
If it doesn't work, try
dotcloud logs to see what's happening.
Horizontal scaling will work as expected. If you apply vertical scaling, you should probably edit
playframework/run to customize the JVM parameters and specify an appropriate heap size.
This recipe is based on dotCloud "custom build API" and is a work in progress