Quantcast
Channel: DevOps tips & tricks
Viewing all articles
Browse latest Browse all 181

Lagom Scala HelloWorld project

$
0
0
Get started with Lagom using Scala
https://www.lagomframework.com/get-started-scala.html

Create project and add it to GitHub
https://developer.lightbend.com/start/?group=lagom&project=lagom-scala-sbt

Lagom Scala project
[dave@localhost github]$ cp ~/Downloads/lagom-scala-sbt.zip .
[dave@localhost github]$ unzip -l lagom-scala-sbt.zip
Archive:  lagom-scala-sbt.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  02-16-2018 22:19   lagom-scala-sbt/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/com/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/com/example/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/com/example/hello/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/com/example/hello/api/
     2864  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-api/src/main/scala/com/example/hello/api/DavescalalagomService.scala
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/example/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/example/hellostream/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/example/hellostream/impl/
     1345  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/example/hellostream/impl/DavescalalagomStreamLoader.scala
      551  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/scala/com/example/hellostream/impl/DavescalalagomStreamServiceImpl.scala
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/resources/
      685  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-impl/src/main/resources/application.conf
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/com/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/com/example/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/com/example/hellostream/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/com/example/hellostream/api/
      648  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-stream-api/src/main/scala/com/example/hellostream/api/DavescalalagomStreamService.scala
       61  02-16-2018 22:19   lagom-scala-sbt/.sbtopts
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/hello/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/hello/impl/
     1642  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/hello/impl/DavescalalagomServiceImpl.scala
     1648  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/hello/impl/DavescalalagomLoader.scala
     7007  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/scala/com/example/hello/impl/DavescalalagomEntity.scala
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/resources/
      965  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/main/resources/application.conf
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/example/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/example/hello/
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/example/hello/impl/
     1461  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/example/hello/impl/DavescalalagomEntitySpec.scala
     1071  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/scala/com/example/hello/impl/DavescalalagomServiceSpec.scala
        0  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/resources/
      501  02-16-2018 22:19   lagom-scala-sbt/dave-scala-lagom-impl/src/test/resources/logback.xml
        0  02-16-2018 22:19   lagom-scala-sbt/project/
       20  02-16-2018 22:19   lagom-scala-sbt/project/build.properties
      208  02-16-2018 22:19   lagom-scala-sbt/project/plugins.sbt
      118  02-16-2018 22:19   lagom-scala-sbt/.gitignore
      595  02-16-2018 22:19   lagom-scala-sbt/LICENSE
     1514  02-16-2018 22:19   lagom-scala-sbt/build.sbt
      204  02-16-2018 22:19   lagom-scala-sbt/README.md
        0  02-16-2018 22:19   lagom-scala-sbt//
       55  01-15-2018 18:59   lagom-scala-sbt/sbt.bat
       44  01-15-2018 18:59   lagom-scala-sbt/sbt
        0  02-16-2018 22:19   lagom-scala-sbt/sbt-dist/
        0  02-16-2018 22:19   lagom-scala-sbt/sbt-dist/bin/
     6751  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/bin/sbt-launch-lib.bash
     1321  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/bin/sbt.bat
     5062  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/bin/sbt
  1210231  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/bin/sbt-launch.jar
        0  02-16-2018 22:19   lagom-scala-sbt/sbt-dist/conf/
      147  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/conf/sbtconfig.txt
      939  01-15-2018 18:59   lagom-scala-sbt/sbt-dist/conf/sbtopts
---------                     -------
  1247658                     74 files


Add into GitHub
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/

 Generated project
https://github.com/dveselka/lagom-scala-sbt


Build project
[dave@localhost lagom-scala-sbt]$ ./sbt runAll
Getting org.scala-sbt sbt 0.13.16 ...


Check the running service using
http://localhost:9000/api/hello/World




Viewing all articles
Browse latest Browse all 181

Trending Articles