This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/backend
2023-12-18 00:02:04 -05:00
..
docs/research docs: user+password storage research documentation (#30) 2023-08-19 18:45:58 +00:00
rotini refactor(taskfiles): extract start logic out of taskfile 2023-12-18 00:01:26 -05:00
script refactor(taskfiles): consolidate start+stop, add namespace for docker tasks 2023-12-18 00:02:04 -05:00
.python-version build(python): python 3.12.x (#55) 2023-12-10 16:41:54 -05:00
Dockerfile build(python): python 3.12.x (#55) 2023-12-10 16:41:54 -05:00
pyproject.toml build(python): python 3.12.x (#55) 2023-12-10 16:41:54 -05:00
README.md feat(backend): handle settings by environment (#13) 2023-08-12 15:56:52 -04:00
requirements.txt chore(deps): update dependency django to v4.2.8 (#51) 2023-12-10 21:11:20 +00:00
requirements_dev.txt build(python): python 3.12.x (#55) 2023-12-10 16:41:54 -05:00

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.