Coder Social home page Coder Social logo

mobile's Introduction

Build Status

Tick Trade Mobile Application

  • Make sure you have node.js installed

Setting up the App

// Fork the repo in GitHub
git clone [email protected]:[your git username]/mobile.git
cd mobile
git remote add upstream [email protected]: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 to GH-Pages

To buil new version of the app and deploy it on gh-pages run the below command.

gulp deploy

Update and Deploy CrowdIn version

gulp deploy-translation (--remote <remote-name>)

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]>`

How to build desktop version of TickTrade

  1. install electron globally npm install -g electron electron-packager
  2. use gulp to build gulp build-desktop --platform=[win32|linux|darwin|mas] --arch=[x64|ia32]
  3. sign the released app:
  4. install electron-osx-sign globally npm instal -g electron-osx-sign
  5. run electron-osx-sign path/to/release/app

How to test

  1. run npm install to install karam, jasmine and all other dependencies.
  2. run npm install -g karma-cli
  3. run 'karma start`

mobile's People

Contributors

ashkanx avatar nazaninreihani avatar morteza-binary avatar tavanarad avatar afshin-deriv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.