Skip to content

Latest commit

 

History

882 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov


iRacing Week Planner

Visit website

Report Bug · Request Feature

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="your@emailaddress.co.uk" 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.

Scheduled deploy notifications

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_SERVER
  • SES_SMTP_PORT set to 587
  • SES_SMTP_USERNAME
  • SES_FROM_EMAIL, an SES-verified sender address

Configure these Deployment environment secrets:

  • SES_SMTP_PASSWORD
  • ADMIN_EMAIL

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

About

A weekly planner for iRacing

Resources

Stars

112 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages