- If you are on a Mac, install the [https://developer.apple.com/xcode/](XCode Developer Tools)
- Clone this repo
- Install Ruby on Rails
- Install the compass gem:
gem install compass - Install node.js from the nodejs.org website
- Run
npm updatefrom the project folder - Install grunt, grunt command line interface, yeoman, cordova and the yeoman generator for angular:
sudo npm install -g grunt grunt-cli yo generator-angular - Run
npm installandbower installto make sure that all dependencies are hooked up - Run
grunt serveto run the app Rungrunt buildto build a minified distribution version of the application - Install the Android SDK (http://developer.android.com/sdk/index.html), then install Cordova
npm install -g cordova,brew install ant, if you want to use this as an Android mobile phone applicationcordova platform add android - To turn the distribution version into an application, copy the contents of the
distfolder into thewwwfolder and then runcordova build, alternatively runningcordova run androidwill install the application on a mobile device plugged in, or will start an emulator onto which it will install the application (this could be automated using a bash script that runsgrunt buildthen copies the contents from the dist folder into the www folder then runs the builder) - The file will be built by either process into
/platforms/android/ant-build/{something}unaligned.apk
If you have questions about the build process for cordova, take a look at: http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html