forked from playframework/playframework
-
Notifications
You must be signed in to change notification settings - Fork 0
PlayConsole
Guillaume Bort edited this page Nov 1, 2011
·
21 revisions
The Play 2.0 console is a development console based on sbt that allow to manage the complete development cycle of a Play application.
To launche the console, enter any existing application directory and launch the play script:
$ cd /path/to/any/application
$ play 
Use the help command to get basic help about the available commands:
[My first application] $ helpTo run the current application in development mode, use the run command:
[My first application] $ run
In this mode, the server will be launched with the auto-reload feature enabled, meaning that for each request Play will check your project and recompile required sources. If needed the application will restart automatically.
To stop the server, you can press the Crtl + D key, and you will come back to the Play console prompt.