forked from playframework/playframework
-
Notifications
You must be signed in to change notification settings - Fork 0
NewApplication
Guillaume Bort edited this page Nov 1, 2011
·
44 revisions
Once the Play is correctly installed, you can create a new application.
The easiest way to create a new application is to use the play new command.
$ play new myFirstAppIt will ask a few question:
- The application name (just for information, this name will be used later in several messages).
- The template to use for this new application. You can choose over a default Scala application, a default Java application, an empty application.

Note that choosing a template at this point does not imply that you can't change of main language latter. You can create a new application using the default Java application template and start adding some Scala code later.
Once the application is created you can use the play command again to enter the Play 2.0 console
$ cd myFirstApp
$ play