Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.22 KB

Play! 2 on dotCloud

logodotcloud

This is an implementation of the dotCloud java service, using the new custom build API.

What?

You want this if:

  • you use dotCloud
  • you want to deploy staged Play! 2 apps

How?

To test this, use the good old "git clone / dotcloud push" method:

git clone git://github.com/js-scala/play2-on-dotcloud.git

To deploy your own application, put its code source into application folder and run play stage.

Don't forget to do one of the following:

  • dotcloud push with the --all flag (will force the use of rsync over git),
  • rm the .git directory (the CLI will gracefully fallback on rsync).

Troubleshooting

If it doesn't work, try dotcloud logs to see what's happening.

Scaling

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.

Warning

This recipe is based on dotCloud "custom build API" and is a work in progress.