forked from mirrors/pronouns.cc
clarify how to generate HMAC_KEY
This commit is contained in:
parent
0140265912
commit
dad6bc042d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ one in the repository root (for the backend) and one in the frontend directory.
|
|||
|
||||
### 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.
|
||||
- `REDIS`: the URL for the Redis database.
|
||||
- `PORT` (int): the port the backend will listen on.
|
||||
|
|
Loading…
Reference in a new issue