Code submitter for Student Robotics Virtual Competition.
Typical deployment is at /code-submitter/ behind an HTTP proxy which can e.g: add TLS termination.
An example deployment is at https://github.com/srobo/ansible/tree/main/roles/code-submitter.
Access to the uploaded submissions is available either:
- through the web interface by logging in as a user which has access to the
blueshirtscope, see for example how theFileBackendhandles assigning this, or - via the
./code_submitter/extract_archives.pyscript if you have access to the machine hosting the deployment
Install all the things:
$ pip install -e . -r script/dev-requirements.txt uvicornRun the checks:
$ ./script/checkCreate/update the database schema:
alembic upgrade headRun the server:
$ ./script/uvicornThis repo generally follows Thread's Python coding style.