/mustard

Mustard - the Open Source Sonar Super Simulator

Primary LanguageJavaScript

SubTrack '90

Open Source (MIT License) mobile app to gamify Sonar best practices.

#Installation

$ sudo npm install -g cordova
$ npm install
$ grunt build

###Update Cordova

sudo npm update -g cordova

If you'll bump with "pre-compile headers" issue after re-building of the app on the iOS platform then please check this link

Verify missions against JSON schema

A JSON Schema constrains the mission level scenarios. Run validator with this:

$ grunt validate

###iOS emulator installation

$ sudo npm install ios-sim -g
$ cordova emulate ios

###Android sdk and emulator installation

First step is to install android sdk

https://developer.android.com/sdk/installing/index.html

http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html

# Android sdk OSX example
export ANDROID_HOME=/Users/%username%/Development/android-sdk-macosx
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Let's setup android emulator if you add path correctly

$ android avd

And try to run

$ cordova emulate android

You can bump with "ant" problem on OSX, do the next to solve it

$ brew update
$ brew install ant

#Components https://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html

https://github.com/thewildpendulum/gaps