This is a simple Flask Admin application that allows teachers using RepoBee to monitor students' progress on GitLab via python-gitlab.
[environment]
SQLITE_DATABASE_FILE=<path to sqlite database file>
LOG_LEVEL="INFO"
[flask]
SECRET_KEY=<secret key>
FLASK_ADMIN_SWATCH="lumen"
FLASK_ADMIN_FLUID_LAYOUT="true"
[gitlab]
ENDPOINT=<the gitlab instance endpoint>
TOKEN=<a gitlab private token>
GROUP=<the repobee group id>
BASEURL=<the repobee group base URL>
First build the image with ./bin/build <VERSION>
, then run it with ./bin/run <VERSION>
; the image will run using the file conf.toml
in the current
directory as a configuration file (see above) and saving the database in the
current directory as gsm.db
(the configuration is overridden by the
GSM_SQLITE_DATABASE_FILE
environment variable defined in the Dockerfile
).