Community contributed extensions

Cloud Foundry

Cloud Foundry allows you to easily deploy your Play! application on Cloud Foundry PaaS. If you bind a Cloud Foundry service to your instance (MySQL, MongoDB, PostgreSQL), it will configure your Play DB connection for you.

Usage

To use this module, you have to declare it in the dependencies file:


require:
- play
- cloudfoundry -> 0.5

If you work with a MongoDB database, you will have to add a MongoDB module: Mongo or Morphia.

Before deploying the application in Cloud Foundry, you must delete/comment your local DB configuration (db, db.url, morphia, etc.): if a DB config is present, the module will not override it.

History