Compiled code is not checked in so you will have to build the project using Gulp
git clone https://github.com/baer/isThereAFuckingGame
cd isThereAFuckingGame
npm install
gulp
The project will build to a dist
directory which is then served as a static website
open dist/index.html
There are two things that need to be done to add a team:
- Edit the @homeTeamColor variable in /src/client/styles/main.less
- Edit the anything you'd like to change in variables in /project.config.js
- Go to http://mlb.mlb.com/mlb/schedule/team_by_team.jsp
- Click on Regular Season Schedule under desired team.
- Scroll down to "In this Section". Click on Downloadable Schedule.
- Download Full Season Schedule CSV and overwrite
data/schedule.csv
- Run
node schedule-converter.js
- Run
gulp build
Many many thanks to isthereagiantsgametoday for the inspiration.