ashkanx / mobile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Runing The App - iOS Device

cordova run ios --device

Runing 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

About


Languages

Language:JavaScript 74.1%Language:CSS 19.8%Language:Objective-C 5.2%Language:HTML 0.7%Language:Batchfile 0.1%Language:Shell 0.0%Language:C 0.0%