Install the dependencies
npm ciRun the Server
npm run devOpen http://localhost:3000 with your browser to see the result.
Install the dependencies
npm ciBuild the assets
npm run build:productionRun a static webserver
npm run serve-staticThere 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.jswith 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.