yarn installIt needs live iRacing data to work - this can be downloaded with your iRacing credentials, and an oauth password limited flow client.
IWP_USERNAME="your@emailaddress.co.uk" IWP_PASSWORD="yourpassword" IWP_CLIENT_ID="iwploader" IWP_CLIENT_SECRET="secret" yarn scrapeData
yarn debugRacesyarn start
open http://localhost:3000Because 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.
The weekly deployment validates calculated race week lengths after scraping data. Invalid lengths do not stop the deployment, but send an AWS SES SMTP email to the administrator. Configure these Deployment environment variables:
SES_SMTP_SERVERSES_SMTP_PORTset to587SES_SMTP_USERNAMESES_FROM_EMAIL, an SES-verified sender address
Configure these Deployment environment secrets:
SES_SMTP_PASSWORDADMIN_EMAIL
You can view the bundle size by running the following commands:
webpack --json > stats.jsonyarn webpack-bundle-analyzer stats.json