-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Replaced bluebird promise with regular Node.js Promise - Removed deasync, i believe that package is no longer used? - Updated README.md - Fixed error in console about i18n "wait" - Added steps to check webpack bundle size
- Loading branch information
Showing
6 changed files
with
1,433 additions
and
1,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,60 @@ | ||
[![codecov](https://codecov.io/gh/tmoitie/iRacing-week-planner/branch/master/graph/badge.svg?token=LZCUjPa0PU)](https://codecov.io/gh/tmoitie/iRacing-week-planner) | ||
|
||
### Scrape | ||
<br /> | ||
<div align="center"> | ||
|
||
It needs live iRacing data to work - this can be downloaded with your iRacing credentials | ||
<h3 align="center">iRacing Week Planner</h3> | ||
|
||
``` | ||
[email protected] IWP_PASSWORD=yourpassword yarn scrapeData | ||
yarn debugRaces | ||
<p align="center"> | ||
<a href="https://iracing-week-planner.tmo.lol/">Visit website</a> | ||
<br /> | ||
<br /> | ||
<a href="https://github.com/tmoitie/iRacing-week-planner/issues">Report Bug</a> | ||
· | ||
<a href="https://github.com/tmoitie/iRacing-week-planner/issues">Request Feature</a> | ||
</p> | ||
</div> | ||
|
||
## Getting Started | ||
|
||
### Install dependencies | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
### Scrape data | ||
|
||
### Editing | ||
It needs live iRacing data to work - this can be downloaded with your iRacing credentials | ||
|
||
```bash | ||
IWP_USERNAME='[email protected]' IWP_PASSWORD='yourpassword' yarn scrapeData | ||
yarn debugRaces | ||
``` | ||
|
||
### Starting the project | ||
|
||
```bash | ||
yarn start | ||
open http://localhost:3000 | ||
``` | ||
|
||
### Updating for the next season | ||
## 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 | ||
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: | ||
|
||
```bash | ||
webpack --json > stats.json | ||
``` | ||
|
||
```bash | ||
yarn webpack-bundle-analyzer stats.json | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.