Beta Trading Interface Binary Translator
Webtrader
Webtrader.binary.com - The goal of this project is to create a total-screen trading interface for Binary.com according to the following design:
In this document:
- Pre-installation
- Quick start
- How to contribute
- Manage translations
- Examination link deployment
Pre-installation
Before running or contribute to this projection, y'all need to accept the setup of the following packages in your environment:
- node >=12.3.0
- npm
- git
Quick first
-
Fork the projection
In order to work on your own version, please fork the project to your own repo.
-
Clone using SSH
git clone git@github.com:your-github-username/webtrader.git
-
Enter project directory
-
Install your dependencies:
npm install npm run build
-
Start developing:
-
Open the source code and commencement editing!
Your site is now running at
http://localhost:9001!
Note*: Since backend needs an https web accost for oauth app annals if you intend to debug oauth login on localhost, you need to modify your /etc/hosts file. For example the https://webtrader.local/ token in src/oauth/app_id.josn is registered to https://webtrader.local/ accost, yous demand to practice the following in order to employ information technology locally.
Add this line to your /etc/hosts file.
127.0.0.1 webtrader.local Use this command to run your local server on https.
$ sudo node_modules/.bin/grunt connect:https Use this command to sentry the files.
$ node_modules/.bin/grunt && node_modules/.bin/grunt watch:https Get to https://webtrader.local:35729 and have the self signed ssl document for grunt livereload.
Now you can debug your app on https://webtrader.local/ locally.
To crash-land release version, run
$ npm major-rel or $ npm minor-rel or $ npm patch-rel Every cheque-in or merge into primary will trigger travis-ci build and do a release to production.
Every check-in or merge of PR into evolution will trigger travis-ci build and exercise a beta release
How to contribute
In society to contribute, please fork and submit pull asking by post-obit all the following mentioned coding rules:
-
Clone using SSH
$ git clone git@github.com:your-github-username/webtrader.git -
Create branch from latest master branch
```sh git checkout master git pull upstream master git checkout -b [_your_branch_name] ``` -
Make YOUR CHANGES
-
Make pull asking
-
Push button your changes to your origin
```sh git push -u origin [_your_branch_name] ``` -
Click on the autogenerated link from terminal to open the PR
Manage translations
Translation related files are in /translations binder.
To extract text for translation:
```sh $ npm run build $ cd ./translations $ python extract.py $ excerpt.py # extracts string literals from `dist/uncompressed` (from *.html and *.js) $ excerpt.py # for merging `.po` files uses `msgmerge` command line tool. ``` Note*: The tool should exist available on linux, if you are on Osx endeavor mash install gettext && mash link gettext --force.
Note*: To submit text to translators: button to translation branch, weblate hook will be triggered.
Note*: To see CrowdIn In-Context translations laissez passer querystring ?lang=ach (obs not for production env)
Exam link deployment
While submitting your PR, make sure that you deploy your code to your forked gh-pages by running post-obit control, and then that the reviewer can have a look at the deployed code at this url $username.github.io/webtrader/co-operative-name:
```sh $ grunt deploy-branch ``` Beta Trading Interface Binary Translator,
Source: https://github.com/binary-com/webtrader
Posted by: parrishbegaid.blogspot.com

0 Response to "Beta Trading Interface Binary Translator"
Post a Comment