Before we start, you will need the following installed on your computer:
To get a project up and running:
- Get the lift source code (yes, lift is in alpha
and running off the development trunk is currently the recommended
mechanism for using it.)
- Using a GUI Subversion tool, load the source from http://liftweb.googlecode.com/svn/tags/0_2_0/
- From the command line svn checkout http://liftweb.googlecode.com/svn/tags/0_2_0/
liftweb
- Build lift:
- From a command prompt, cd liftweb/liftweb
- mvn clean:clean install
- Maven will run and you should see output like:
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Lift .................................................. SUCCESS
[0.770s]
[INFO] Lift Core ............................................. SUCCESS
[35.683s]
[INFO] Lift Example .......................................... SUCCESS
[10.317s]
[INFO] Skittr Example ........................................ SUCCESS
[12.706s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 59 seconds
[INFO] Finished at: Wed Jun 06 10:36:15 PDT 2007
[INFO] Final Memory: 11M/132M
[INFO]
------------------------------------------------------------------------
- Run the lift example code:
- cd example
- mvn jetty:run
- Point your browser to http://localhost:8888 and see
the lift example site
- Go back to the command prompt and type ctrl-C to stop
the web server
- cd .. so that you are in the "liftweb/liftweb"
directory
- Create your own project:
- cd new_proj
- scala new_proj.scala MyProject ~/tmp/MyProject com.myproject
- cd into the newly created project directory (in this
case, ~/tmp/MyProject)
- mvn install jetty:run
- Point your browser to http://localhost:8888 and see
your brand new project
- Join the lift group (http://groups.google.com/group/liftweb)
and give feedback, ask questions, and make lift better