play2.3のインストール(brew)&起動確認

brewでplay2.3をインストールする。

sudo brew install typesafe-activator

インストールできていたら、以下のコマンドでヘルプが確認できる。

 activator -help

次に、起動させてみる。

"activator new"でアプリケーションを作成する。

activator new my-first-app play-scala

アプリケーションのディレクトリで、"activator run"を実行する。

cd my-first-app
activator run

デフォルトのポート9000でlocalhostに接続する。 以下の画面がでてきたら、成功。

f:id:takahitonara:20150313020503p:plain