Dasc3er / table-football

Webapp to track ELO of table football players.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Simple UI to track matches of table football across Amazon buildings.

Testing

 streamlit run --server.runOnSave True app.py

Updating the database

The database is stored in SQLite format to ./database.db.

The database structure is managed via the Alembic library, which organizes updates into migrations (pieces of code run once, in order, to update an existing database).

To create a migration, you need to use the following command line from a Terminal:

python -m alembic revision -m "add created_by fields"

This will create a file into database/versions, which you may edit to contain raw SQL or Alembic-commands to work on the database.

Update of the database can be done via Alembic itself or the Admin page of the UI.

About

Webapp to track ELO of table football players.


Languages

Language:Python 98.6%Language:Mako 1.4%