Skip to content

Commit d8019ef

Browse files
add jwt secret key info in readme
1 parent a8ca258 commit d8019ef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ pip install -r requirements-dev.txt
4242
python populate_db.py
4343
```
4444

45+
Set `JWT_SECRET_KEY` environment variable. Run this in a python shell to generate sample keys:
46+
47+
```python
48+
import secrets
49+
secrets.token_urlsafe(32) # 'fP-3vOuhEr7Nl9DdJiX5XyjOedquOrifDps2KS34Wu0'
50+
```
51+
4552
Start the server: (Runs on 127.0.0.1:5000)
4653

4754
```bash

0 commit comments

Comments
 (0)