Thursday, September 12, 2013

Scala Lift steps how to compile and run


git clone
cd simply_lift/samples/http_rest
> update
> jetty-run

But this project use old version of scala and lift and sbt

to do Project from scratch with all explanations:
just Rest example:

#udpate sbt-launch.jar from to latest version

# remove old file to activate changes
rm project/

#register eclipse plugin
echo "addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.3.0")" > simply_lift/samples/http_rest/project/plugins.sbt

Deploy (jetty, tomact ):
#create a war in target folder
sbt package

#deploy war to Java application server (jetty, tomcat, ...)!topic/liftweb/503eibvCvV4

#examples of prod configurations

Scala vs Nodejs:

No comments:

Post a Comment