Getting started with Lift and Lifty
===

I am trying to get started with the Lift framework, reading Lift in Action. I would like to follow along with the examples, but I immediately stumble into a problem with installing Lift. I know that there are various ways to get started easily with Lift, but I would like to use Lifty, as the book does, to be able to follow it.

The problem is that both Lifty and `sbt` (and Lift too!) have moved forward since the book was published. I installed `sbt` from the Typesafe repository for Ubuntu. Now I am stuck trying to install Lifty.

Following [Lifty documentation][1] and [this answer on SO][2] - due to the fact that Lifty has not released a binary for `sbt` 0.11.3 - I figured I should put the following in `~/.sbt/plugins/build.sbt`:

    resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
    
    addSbtPlugin("org.lifty" % "lifty" % "1.7.4")
    
    libraryDependencies +=
      Defaults.sbtPluginExtra(
        "org.lifty" % "lifty" % "1.7.4",
        "0.11.2",
        "2.9.1"
      )

The latter is to tell `sbt` to use the Lifty plugin for sbt 0.11.2.

Now `sbt` seems to be able to download Lifty and starts correctly, but I do not have a `lifty` command. So when I do

    lifty learn lift https://raw.github.com/Lifty/lifty/master/lifty-recipe/lifty.json

`sbt` complains:

    [error] Not a valid key: lifty (similar: history)
    [error] lifty learn lift https://raw.github.com/Lifty/lifty/master/lifty-recipe/lifty.json
    [error]      ^

How should I install Lifty? Please note that I am new to Scala, sbt and Lift.


  [1]: http://lifty.github.com/Installing+The+Plugin.html
  [2]: http://stackoverflow.com/questions/11010597/lifty-unresolved-dependency-org-liftylifty1-7-4-not-found