Marc Cataford
a34b4e8033
* perf(backend): avoid double-reading uploaded file content * docs(backend): document file upload endpoint * refactor(backend): hoist uploaded content read + simplify file write block |
||
---|---|---|
.. | ||
rotini | ||
script | ||
tests | ||
.pylintrc | ||
.python-version | ||
Dockerfile | ||
pyproject.toml | ||
README.md | ||
requirements.in | ||
requirements.txt | ||
requirements_dev.in | ||
requirements_dev.txt |
Rotini backend
Development
Before starting, make sure to run the root bootstrap script so the task
commands are enabled.
task be:start-db
will provision a database for local usage.
An envfile should be present at .env
and should define:
DATABASE_USERNAME
, the username to initialize the DB user with;DATABASE_PASSWORD
, the password to assign to that test user;DATABASE_HOST
, the host on which the database runs;DATABASE_PORT
, the port on which the database runs;DATABASE_NAME
, name of the database within the Postgres instance.