HowTo run examples

From Lift

Jump to: navigation, search

Contents

how to run

in the following instructions, you should replace example-xxx by the right value (see section examples below), depends of the examples you want to run.

from war

  1. Install Java 5+ on your machine (http://java.sun.com)
  2. Install a servlet server (like jetty or tomcat)
  3. Download and deploy example-project.war

Point your browser to http://localhost:8080/example-project/ (the url could change, depends of your servlet server's configuration) and you should see lift running

from project

  1. Install Java 5+ on your machine (http://java.sun.com)
  2. Install Maven 2.0.x on your machine (http://maven.apache.org/)
  3. Download example-project.tar.bz2
 tar -xjvf example-project.tar.bz2
 cd example
 mvn jetty:run

Point your browser to http://localhost:8080/ and you should see the example running

from svn source

  1. Install Java 5+ on your machine (http://java.sun.com)
  2. Install Maven 2.0.x on your machine (http://maven.apache.org/)
  3. Install subversion on your machine
 svn checkout example-svn-url example
 cd example
 mvn jetty:run


Point your browser to http://localhost:8080 and you should see lift running

examples

lift-example

The default example applications, you should start with it to have an overview of the lift's power.

lift-hellolift

skittr-example

unconference

Personal tools