Files
schedtxt_auth/README.md
T
phoenix 08b34318a8
pr Build / Check (pull_request) Successful in 1m21s
pr Build / Clippy (pull_request) Successful in 1m59s
pr Build / Rustfmt (pull_request) Successful in 2m26s
Adding license
2026-07-14 15:24:30 -04:00

23 lines
567 B
Markdown

# schedtxt_auth
Auth API for `schedtxt` project.
## Getting started
Quickest way to get started is with docker, make sure that it is installed. Copy over
the `.env.docker.sample` file and name it `.env`.
For `SECRET_KEY` provide a key that is at least 32-characters. This is used for token
creation. Additionally, provide credentials for the database for the `DB_*` keys.
Make sure that `ENABLE_REGISTRATION` is set to true, otherwise registration will not work.
Build the container
```
docker compose build
```
Bring up the container
```
docker compose up
```