- Make sure you have node.js installed
// Fork the repo in GitHub
git clone git@github.com:[your git username]/mobile.git
cd mobile
git remote add upstream git@github.com:binary-com/mobile.git
npm install -g bower gulp cordova ionic ios-sim
npm install
// In project root
git pull upstream master
bower update
ionic serve
ionic emulate ioscordova run ios --deviceionic emulate androidcordova run android --device
git push origin master
// Create a pull request from your fork in GitHubTo update SCSS files, run the following command in another terminal
gulp sass // compiles scss files to css
gulp watch // compiles scss files to css everytime a scss file gets changedWe build with Gulp and deploy to GitHub Pages
cd build
npm install or npm update (may need sudo)
gulp deploy
##How to use code-push to push new version
1. Install code-push
2. Modify `www/versions.json` file and add details of new version on it.
2. Use gulp to push the release
`$gulp code-push --app <registered appName in code-push> --deployment <deploymentName> --platform <[android, ios]>`