Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.2 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.2 KB

Code Submitter

CircleCI

Code submitter for Student Robotics Virtual Competition.

Deployment

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.

Downloading submissions

Access to the uploaded submissions is available either:

  • through the web interface by logging in as a user which has access to the blueshirt scope, see for example how the FileBackend handles assigning this, or
  • via the ./code_submitter/extract_archives.py script if you have access to the machine hosting the deployment

Development setup

Install all the things:

$ pip install -e . -r script/dev-requirements.txt uvicorn

Run the checks:

$ ./script/check

Create/update the database schema:

alembic upgrade head

Run the server:

$ ./script/uvicorn

Coding style

This repo generally follows Thread's Python coding style.