This documentation is a work in progress.
- 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 ios
cordova run ios --device
ionic emulate android
cordova run android --device
git push origin master
// Create a pull request from your fork in GitHub
To 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 changed
We build with Gulp and deploy to GitHub Pages
cd build
npm install or npm update (may need sudo)
gulp deploy