lol
 
 
 
 
 
 
Go to file
John Montagu, the 4th Earl of Sandvich 1d6dce5088
feat(backend): Add celery beat schedule
2024-12-11 18:04:24 -08:00
availabili.tf Move matches tab to team settings 2024-12-11 17:20:04 -08:00
backend-flask feat(backend): Add celery beat schedule 2024-12-11 18:04:24 -08:00
nginx Move matches tab to team settings 2024-12-11 17:20:04 -08:00
.gitignore Implement some basic features 2024-11-02 12:33:27 -07:00
README.md Prepare for production 2024-12-10 18:18:40 -08:00
docker-compose.prod.yml Prepare for production 2024-12-10 18:18:40 -08:00
docker-compose.yml Move matches tab to team settings 2024-12-11 17:20:04 -08:00
package-lock.json Add EventCard dropdown 2024-11-30 18:59:17 -08:00

README.md

availabili.tf

Scheduling for TF2

Tech Stack

Setup (dev)

docker compose build
docker compose up
DATABASE_URI=sqlite:///db.sqlite3 flask db upgrade

App will run at port 8000.

Setup (production)

Build the frontend app:

cd availabili.tf
npm run build

Build the rest of the containers:

docker compose -f docker-compose.prod.yml build
docker compose -f docker-compose.prod.yml up

Perform initial database migration:

docker exec -it backend bash
flask db upgrade

OpenAPI

The backend will automatically serve its OpenAPI-compliant spec at /apidoc/openapi.json which can also be viewed at /apidoc/redoc or /apidoc/swagger or /apidoc/scalar.

To generate the frontend client:

npm run openapi-generate