forked from playframework/playframework
-
Notifications
You must be signed in to change notification settings - Fork 0
ProductionDist
Guillaume Bort edited this page Nov 18, 2012
·
5 revisions
It is also possible to create a fully packaged an self containend version of your application.
The `dist command creates a zip file containing all the application dependencies including Play itself. It is a "ready to deploy" package that you can run on any server (the only dependency is a Java runtime).
[My first application] $ dist
It generates the zip file in the dist directory.
The dist command generates a start.sh script launching the Java runtime with the proper options and classpath. Of course it is not required to use this script and you can launch Java the plain old way if needed.
Note that you can specify more Java options to this script:
$ ./start.sh -Dplay.http=80 -Dhttp.address=127.0.0.1
- Deploying your application
- Creating a standalone version
- Additional configuration
- Set-up a front-end HTTP server
- Deploying to Heroku
- Deploying to Cloudbees
- Deploying to Cloud Foundry
- Installing Play
- Creating a new application
- Anatomy of a Play application
- Using the Play console
- Setting-up your preferred IDE
- Sample applications