This repository uses Docker (and docker-compose
) in development for its MySQL
database.
docker-compose up -d
Copy .env.example
to .env
:
cp .env.example .env
Then, fill in CFBD_API_KEY
with a valid CollegeFootballData.com API
key.
Fill in GOOGLE_CLIENT_ID
/ GOOGLE_CLIENT_SECRET
with Google OAuth 2.0
credentials (for the admin interfac).
If your database is out of sync, or if you made some schema changes and want to deploy a migration, run:
yarn prisma migrate dev
In local development, you can run the webhooks without authentication:
curl localhost:3000/api/sync/sync-bowl-games
Follow our deployment guides for Vercel and Docker for more information.