Developers#
Requirements
- node = look at .nvmrc
- pnpm = 6.24.1
- git clone this repository
$ git clone git@github.com:AzrizHaziq/tradingview-syariah-indicator.git
- Then run
$ pnpm
to install all dependencies. - Create .env(for development) and .env.production(for production) file in every Web, andextension, and please follow .env.example
How to use#
Data#
- Make sure your terminal inside /packages/extension directory
- Use this to scrape latest data
$ npm run update-data
. Will take a few X minutes. - All new data will be written to
- /packages/data/stock-list.json
- /packages/data/stock-list.human.json
Extension#
- Make sure your terminal inside /packages/extension directory
- Firefox
- dev:
$ npm run start:firefox
- prod:
$ npm run build:firefox
- Chrome
- dev:
$ npm run start:chrome
- prod:
$ npm run build:chrome
- Generated file production file is located in/web-ext-artifacts/tradingview-shariah-indicator-XXX.zip
Website#
- Make sure your terminal inside /packages/web directory
- Type in terminal
- Devs:
$ npm run dev
- Build:
$ npm run build
- Devs: