Bastli Bouncer
This is an attendance manager/tracker to ensure COVID-19 restrictions.
Development
IMPORTANT: DO NOT CHANGE already commited migrations files!
All files related to data management and flask are in ./app
.
The files for the telegram bot are in ./bot
.
Use the script manage.sh
for local development.
$ ./manage.sh help
Management Script Usage:
manage.sh [COMMAND]
COMMAND:
build Build docker image for local development.
services [start|restart|stop] Start/stop service dependencies.
makemigrations Create new migration files.
migrate Apply migrations to local database.
update_dependencies Update dependencies based in requirements.in.
Example workflow
Build local development image:
./manage.sh build
Start service dependencies:
./manage.sh services start
Apply database migrations:
./manage.sh migrate
Run development server:
./manage.sh run
Start developing now.