1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebrewを使ってPlayをインストールする

Posted at
$ brew install play
==> Downloading http://downloads.typesafe.com/play/2.2.1/play-2.2.1.zip
######################################################################## 100.0%
?  /usr/local/Cellar/play/2.2.1: 2165 files, 127M, built in 6.7 minutes

$ $ play new hello_play
Getting com.typesafe.play console_2.10 2.2.1 ...
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        6 artifacts copied, 0 already retrieved (2012kB/38ms)
Getting Scala 2.10.2 (for console)...
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        5 artifacts copied, 0 already retrieved (24390kB/64ms)
       _
 _ __ | | __ _ _  _
| '_ \| |/ _' | || |
|  __/|_|\____|\__ /
|_|            |__/

play 2.2.1 built with Scala 2.10.2 (running Java 1.7.0_51), http://www.playframework.com

The new application will be created in /current_path/hello_play

What is the application name? [hello_play]

> hello_play

Which template do you want to use for this new application? 

  1             - Create a simple Scala application
  2             - Create a simple Java application

> 1
OK, application hello_play is created.

Have fun!

$ cd hello_play

$ play run
(省略)

[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...)

この状態でhttp://localhost:9000/にアクセスするとページが見られます。
何かはまるかなー、と思ってましたが特につまる所はなくて良かったです。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?