Marc Cataford
da2bf786d5
* build(backend): db provisioning tooling * feat(backend): split application configuration by env * docs(backend): update mention of local db setup
16 lines
597 B
Markdown
16 lines
597 B
Markdown
# Rotini backend
|
|
|
|
## Development
|
|
|
|
Before starting, make sure to run the [root bootstrap script](../README.md#Development) 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.
|
|
|