mirror of
https://github.com/simple-login/app.git
synced 2025-02-20 22:02:54 +08:00
make sure .env.example can be used in tests/
This commit is contained in:
parent
0817e45abe
commit
c4775bd66c
2 changed files with 5 additions and 3 deletions
|
@ -12,10 +12,10 @@ STRIPE_SECRET_KEY=to_fill
|
|||
MAX_NB_EMAIL_FREE_PLAN=3
|
||||
|
||||
# Absolute paths
|
||||
OPENID_PRIVATE_KEY_PATH=to_fill
|
||||
OPENID_PUBLIC_KEY_PATH=to_fill
|
||||
OPENID_PRIVATE_KEY_PATH=local_data/jwtRS256.key
|
||||
OPENID_PUBLIC_KEY_PATH=local_data/jwtRS256.key.pub
|
||||
|
||||
WORDS_FILE_PATH=to_fill
|
||||
WORDS_FILE_PATH=local_data/words.txt
|
||||
|
||||
# Github: make sure to set correctly the redirect url to /auth/github/callback
|
||||
GITHUB_CLIENT_ID=to_fill
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import os
|
||||
|
||||
os.environ["CONFIG"] = ".env.example"
|
||||
|
||||
# use in-memory database
|
||||
# need to set before importing any other module as DB_URI is init at import time
|
||||
os.environ["DB_URI"] = "sqlite://"
|
||||
|
|
Loading…
Reference in a new issue