clarify how to generate HMAC_KEY
This commit is contained in:
parent
0140265912
commit
dad6bc042d
|
@ -22,7 +22,7 @@ one in the repository root (for the backend) and one in the frontend directory.
|
||||||
|
|
||||||
### Backend keys
|
### Backend keys
|
||||||
|
|
||||||
- `HMAC_KEY`: the key used to sign tokens. This should be a base64 string, you can generate one with `scripts/genkey`.
|
- `HMAC_KEY`: the key used to sign tokens. This should be a base64 string, you can generate one with `go run -v . generate key` (or `./pronouns generate key` after building).
|
||||||
- `DATABASE_URL`: the URL for the PostgreSQL database.
|
- `DATABASE_URL`: the URL for the PostgreSQL database.
|
||||||
- `REDIS`: the URL for the Redis database.
|
- `REDIS`: the URL for the Redis database.
|
||||||
- `PORT` (int): the port the backend will listen on.
|
- `PORT` (int): the port the backend will listen on.
|
||||||
|
|
Loading…
Reference in New Issue