This repository used to contain the source code for ticktrade application and ticktrade.binary.com
ticktrade was discontinued on Wednesday 19 October 2022.
- Make sure you have node.js installed
// 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
// 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
To buil new version of the app and deploy it on gh-pages run the below command.
gulp deploy
gulp deploy-translation (--remote <remote-name>)
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]>`
- install electron globally
npm install -g electron electron-packager
- use gulp to build
gulp build-desktop --platform=[win32|linux|darwin|mas] --arch=[x64|ia32]
- sign the released app:
- install electron-osx-sign globally
npm instal -g electron-osx-sign
- run
electron-osx-sign path/to/release/app
- run
npm install
to installkaram
,jasmine
and all other dependencies. - run
npm install -g karma-cli
- run 'karma start`