Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Build Instructions (Web App)

Lee Zhen Yong edited this page Oct 27, 2017 · 3 revisions

The build instructions here are for the web app. If you are looking for build instructions for mobile app (iOS and Android), click here instead.

All commands require yarn to be installed.

Run Project

Note: if any of the yarn commands do not work, try prepend sudo to the command

git clone https://github.com/binary-com/binary-next-gen.git
yarn install
yarn start

Then open localhost:3000 in a browser

Update to Latest Version

git pull
yarn upgrade

Deploy New Web Version

We build with Gulp and deploy to GitHub Pages

Only accounts with push access of the repo can publish.

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

Deploy for QA testing

gulp deploy-test --appId 1256

The appId is configurable so that OAuth redirect works correctly. To register new app id, go here https://developers.binary.com/applications/

Clone this wiki locally