Community contributed extensions

CloudBees RUN@cloud Deployment

CloudBees RUN@cLoud is a cloud hosting service for Java/JVM applications. While it is possible to run a Play application on CloudBees without the help of this module, using it will automate some of the tasks you have to do to deploy on CloudBees.

Usage

Create your application with CloudBees RUN@cloud support:

play new appname --with=cloudbees

You can also add CloudBees RUN@cloud support for an existing application by editing dependancies.yaml:

- play -> cloudbees 0.2

Database

If you included CloudBees support when you created your application, the file application.conf contains sample parameters for the database settings. Otherwise, here is how you configure it:

db=java:/comp/env/jdbc/yourProject
db.url=jdbc:stax://yourDataBaseName
db.driver=com.staxnet.jdbc.Driver
db.user=login
db.pass=password
jpa.dialect=org.hibernate.dialect.MySQLDialect

Deployment

To deploy to CloudBees RUN@cloud run

play bees:app:deploy appname --key your apikey --secret your secret \
	--app-domain your account name
	--app-name name to deploy under


To make it easier to deploy, those fields can be put in the projects application.conf file

bees.key=your apikey
bees.secret=your secret
bees.domain=your domain
bees.name=your app name