Thursday, 28 April 2011

Setup Lift (Scala web framework)

  • Create new folder 'LiftProject'
  • Run sbt command from that folder, choose 'y' to create new project (Name: LiftProject, Organization: test)
  • Configure Lifty (http://lifty.github.com/) Lift SBT processor - you only need to do it once
    • From sbt prompt run the following (including * character)
        > *lifty is org.lifty lifty 1.6.1 
        > update
  • Create new Lift project (when asked you can specify version 2.3 instead of 2.3-RC3)
      > lifty create project-blank
  • Create idea project files 
    > idea
  • Refresh everything 
    > reload
    > update
    > compile
  • Run Jetty webserver
    > ~jetty-run
  • Open http://localhost:8080 and you should see your lift webpage

More info about Lift
http://liftweb.net/

Lift Book
http://simply.liftweb.net/index.html
code samples: https://github.com/dpp/simply_lift

No comments:

Post a Comment