なんでわざわざScalaでやる必要が、というツッコミがありそうですが、今作ってるものが外部コマンドを結構使いそうなアプリケーションで scala.sys.process 使えると良さそうだなあ、と思っただけ。PlayとかよりSpringBootの方が楽そうなんですもの。 ちょうどおあつらえ向きのGithubリポジトリがあったので参考にしてみました。 github.com 本当に手探りでやってるので、ツッコミはむしろ欲しいです。 プロジェクト設定 name := "Cthulhu" version := "1.0" scalaVersion := "2.11.7" seq(webSettings: _*) libraryDependencies ++= Seq( "org.springframework.boot" % "spring-boot-starter-web" % "1.2.5.R