An open API service indexing awesome lists of open source software.

https://github.com/karma4u101/mobile-sample

A sample for creating a Lift mobile site, not yet complete
https://github.com/karma4u101/mobile-sample

Last synced: about 2 months ago
JSON representation

A sample for creating a Lift mobile site, not yet complete

Awesome Lists containing this project

README

        

Dynamic Template Invocation
===========================

This Scala/Lift basic assembly example demonstration dynamic template invocation by choosing between a fictional "mobile" and "full" surround template depending on some condition.
This is a fork originates from this discussion http://groups.google.com/group/liftweb/browse_thread/thread/bdb91101ac9e5960

Quick Start
-----------
The only prerequisites for running this Lift example is that you have Git and Java installed and configured on the target computer.
You don't need to use it but the project also includes a Eclipse plug-in for browsing and following/working with the code, see the Scala IDE section.

1) Get the examples

git clone [email protected]:karma4u101/mobile-sample.git
cd mobile-sample

2) Update & Run Jetty

There is also a sbt.bat for windows users.

./sbt update ~container:start

3) Launch Your Browser

http://localhost:8080/

Scala IDE for Eclipse
---------------------
Sbteclipse provides SBT command to create Eclipse project files

1) Usage

project$ ./sbt
> eclipse create-src

2) In eclipse do:

File ==> Import...
Select General ==> Existing Project into Workspace
Use "Brows" to look up the project root ....