ScalaInstall (for Mac OS X & Homebrew )play framework$ brew install typesafe-activator
create new project$ activator new (projectname) (projectname)のところで指定したディレクトリが作成されるのでcdする。 とりあえずbuild.sbtをいじる。 参考資料PlayFramework - (60分クッキング) Play Framework (Scala)+MySQLでREST APIサーバーを作る - QiitaPlay 2.4 Hands on導入部分はわかりやすかった 感想
[error] [/Users/karia/source/karia/scala-play-sample/build.sbt]:16: ')' expected but string literal found. Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q
[info] Compiling 7 Scala sources and 1 Java source to /Users/karia/source/karia/scala-play-sample/target/scala-2.11/classes... [info] 'compiler-interface' not yet compiled for Scala 2.11.6. Compiling... [info] Compilation completed in 14.1 s Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine instead to run JavaScript assets compilation, which in some cases may be orders of magnitude slower than using node.js. [info] - play.api.Play - Application started (Dev)
Play 2.4.3 scala 2.11.6 |