Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 979 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 979 Bytes

KellyBowlPickem.com

Development environment

This repository uses Docker (and docker-compose) in development for its MySQL database.

docker-compose up -d

First time setup

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).

Migrations

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

Syncing data

In local development, you can run the webhooks without authentication:

curl localhost:3000/api/sync/sync-bowl-games

How do I deploy this?

Follow our deployment guides for Vercel and Docker for more information.