Install the dependencies
npm ci
Run the Server
npm run dev
Open http://localhost:3000 with your browser to see the result.
Install the dependencies
npm ci
Build the assets
npm run build:production
Run a static webserver
npm run serve-static
There are two things that need to be done to add a team:
- Edit the @homeTeamColor variable in
./src/client/styles/globals.css
- Edit the anything you'd like to change in variables in
./next.config.js
- Go to the MLB Schedule Website
- Click on "Downloadable Schedule" for your team
- Scroll down and download the "Full Season Schedule" csv file
- Run
node schedule-converter.js
with the csv you just downloaded
Note: The converter script relies on several Node modules. Make sure you've already run npm ci
Many many thanks to isthereagiantsgametoday for the inspiration.