Skip to content

Instantly share code, notes, and snippets.

@u1hoshino
Created June 8, 2012 04:19
Show Gist options
  • Save u1hoshino/2893564 to your computer and use it in GitHub Desktop.
Save u1hoshino/2893564 to your computer and use it in GitHub Desktop.
$ /play-2.0.1/play.bat new play_sample
_ _
_ __ | | __ _ _ _| |
| '_ \| |/ _' | || |_|
| __/|_|\____|\__ (_)
|_| |__/
play! 2.0.1, http://www.playframework.org
The new application will be created in C:\xxxx\play_sample
What is the application name?
> play_sample
Which template do you want to use for this new application?
1 - Create a simple Scala application
2 - Create a simple Java application
3 - Create an empty project
> 1
OK, application play_sample is created.
Have fun!
$
$ ls
README app/ conf/ project/ public/
$ /play-2.0.1/play.bat run
[info] Loading project definition from C:\xxxx\play_sample\project
[info] Set current project to play_sample (in build file:/C:/xxxx/play_sample/)
[info] Updating {file:/C:/xxxx/play_sample/}play_sample...
[info] Done updating.
--- (Running the application from SBT, auto-reloading is enabled) ---
[info] play - Listening for HTTP on port 9000...
(Server started, use Ctrl+D to stop and go back to the console...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment