An implementation of the PropertyCross app using Lavaca.
Lavaca is a web application framework designed to jumpstart development of hybrid and single page applications. Lavaca is made available under an MIT licence and features:
- An AMD architecture utilizing (require.js)
- A build system leveraging (Grunt)
- Integration with Cordova / PhoneGap out-of-the-box
- A unit testing framework (Jasmine)
- A templating framework (LinkedIn fork of Dust)
- A translation framework
- Dynamic CSS with (LESS)
- ...as well as many other common components.
Building the Application
$ # Go to "lavaca" directory $ cd lavaca $ # Install grunt-cli globally - this may require sudo $ npm install -g grunt-cli $ # Install bower globally - this may require sudo $ npm install -g bower $ # Install node dependencies for $ npm install $ # Install bower dependencies $ bower install
Run Development Server
$ grunt server
Your application should now be running on
Build for Deployment
$ grunt build:production
This task creates a build directory with the Web code ready for deployment. The iOS and Android code projects are in
Package Builds for Native Deployment
$ grunt pkg
$ grunt pkg:ios
$ grunt pkg:android
libimobiledevice is required to install and uninstall packages to/from iOS devices. Mac OS X users may use https://github.com/benvium/libimobiledevice-macosx. adb is required to install and uninstall packages to/from Android devices.
For more help with building see Building Your Project.
See Project Structure from the Lavaca wiki.