Created
February 7, 2015 20:05
-
-
Save nikuyoshi/84e5a6db15a116f5ec3d to your computer and use it in GitHub Desktop.
Play Framework 2.3.7 コトハジメ ref: http://qiita.com/nikuyoshi/items/64e7606bcc8e512fb976
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Play Framework | |
export PATH=$PATH:/usr/local/bin/activator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ activator eclipse | |
[info] Loading project definition from /Users/nikuyoshi/workspace/test/project | |
[info] Updating {file:/Users/nikuyoshi/workspace/test/project/}test-build... | |
Waiting for lock on /Users/nikuyoshi/.ivy2/.sbt.ivy.lock to be available... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[info] Set current project to test (in build file:/Users/nikuyoshi/workspace/test/) | |
[info] About to create Eclipse project files for your project(s). | |
[info] Updating {file:/Users/nikuyoshi/workspace/test/}root... | |
Waiting for lock on /Users/nikuyoshi/.ivy2/.sbt.ivy.lock to be available... | |
[info] Resolving com.typesafe.trace#trace-sigar-libs;0.1.7 ... | |
[info] Done updating. | |
[info] Updating {file:/Users/nikuyoshi/workspace/test/}root... | |
Waiting for lock on /Users/nikuyoshi/.ivy2/.sbt.ivy.lock to be available... | |
[info] Resolving com.typesafe.trace#trace-sigar-libs;0.1.7 ... | |
[info] Done updating. | |
[info] Updating {file:/Users/nikuyoshi/workspace/test/}root... | |
Waiting for lock on /Users/nikuyoshi/.ivy2/.sbt.ivy.lock to be available... | |
[info] Resolving com.typesafe.trace#trace-sigar-libs;0.1.7 ... | |
[info] Done updating. | |
[info] Successfully created Eclipse project files for project(s): | |
[info] test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ activator new | |
Fetching the latest list of templates... | |
Browse the list of templates: http://typesafe.com/activator/templates | |
Choose from these featured templates or enter a template name: | |
1) minimal-akka-java-seed | |
2) minimal-akka-scala-seed | |
3) minimal-java | |
4) minimal-scala | |
5) play-java | |
6) play-scala | |
(hit tab to see a list of all templates) | |
> play-java | |
Enter a name for your application (just press enter for 'play-java') | |
> test | |
OK, application "test" is being created using the "play-java" template. | |
To run "test" from the command line, "cd test" then: | |
/Users/nikuyoshi/workspace/meshitero/test/activator run | |
To run the test for "test" from the command line, "cd test" then: | |
/Users/nikuyoshi/workspace/meshitero/test/activator test | |
To run the Activator UI for "test" from the command line, "cd test" then: | |
/Users/nikuyoshi/workspace/meshitero/test/activator ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ activator run | |
Getting org.scala-sbt sbt 0.13.5 ... | |
---長いダウンロード後--- | |
[info] Done updating. | |
--- (Running the application, auto-reloading is enabled) --- | |
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0: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