Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 1.25 KB

File metadata and controls

67 lines (53 loc) · 1.25 KB

mobile

This documentation is a work in progress.

  • Make sure you have node.js installed

Setting up the App

// 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

Running the App - localhost

// In project root
git pull upstream master
bower update
ionic serve

Running the App - iOS Emulator

ionic emulate ios

Running The App - iOS Device

cordova run ios --device

Running the App - Android Emulator

ionic emulate android

Running the App - Android Device

cordova run android --device

Submitting the code

git push origin master
// Create a pull request from your fork in GitHub

Working with SCSS

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

Deploy new web version

We build with Gulp and deploy to GitHub Pages

cd build
npm install or npm update (may need sudo)
gulp deploy