iRacing Week Planner
Getting Started
Install dependencies
yarn install
Scrape data
It needs live iRacing data to work - this can be downloaded with your iRacing credentials, and an oauth password limited flow client.
IWP_USERNAME="[email protected]" IWP_PASSWORD="yourpassword" IWP_CLIENT_ID="iwploader" IWP_CLIENT_SECRET="secret" yarn scrapeData
yarn debugRaces
Starting the project
yarn start
open http://localhost:3000
Updating for the next season
Because this scrapes the data from the iRacing website, the tool can only be updated for the new season once it is published on the iRacing website. As such the planner won't be updated until the turn of the season, typically within a few hours of the data going live - Tuesday 1am UTC on the first week of the season.
Other information
Inspect webpack bundle size
You can view the bundle size by running the following commands:
webpack --json > stats.json
yarn webpack-bundle-analyzer stats.json