-
Clone this repo:
git clone https://github.com/waytrade/ib-api-service.git cd ib-api-service
-
Create a
.npmrc
file on root folder.
@waytrade
packages are not hosted on npm.js but on github.
Since Github does not allow unauthenticated access, you first need to create personal access on https://github.com/settings/tokens (make sureread:packages
is checked!) and paste it into a .npmrc file with the following content:@waytrade:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=<yourPersonalAcessToken>
-
Install dependencies:
yarn install
-
Start IBGateway App locally and adapt IB_GATEWAY_PORT on
config/development.json
if needed. -
Open the root folder on on VSCode:
code .
-
Switch to
Run and Debug
tab, selectLaunch Program
-
Press Ctrl+Shit+B to start the auto-build (will automatically rebuild if code changes)
-
Press F5 to start the App on debugger.