lol
 
 
 
 
 
 
Go to file
John Montagu, the 4th Earl of Sandvich c7874d6d11
fix: Fix being unable to do player actions
2024-12-11 20:30:26 -08:00
availabili.tf fix: Fix being unable to do player actions 2024-12-11 20:30:26 -08:00
backend-flask fix: Fix being unable to do player actions 2024-12-11 20:30:26 -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 Make production ready 2024-12-11 18:04:53 -08:00
docker-compose.prod.yml Make production ready 2024-12-11 18:04:53 -08:00
docker-compose.yml Make production ready 2024-12-11 18:04:53 -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 (development, SQLite3)

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

App will run at port 8000.

Setup (production, Postgres)

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