21 lines
534 B
Bash
21 lines
534 B
Bash
# Fichier à configurer et renommer en .env
|
|
# (dans /opt/scodoc)
|
|
# Il doit appartenir à (ou être lisible par) "scodoc"
|
|
|
|
|
|
FLASK_APP=scodoc.py
|
|
FLASK_ENV=development
|
|
|
|
# Envois de mails: adapter si nécessaire
|
|
# MAIL_SERVER=localhost
|
|
|
|
# Obligatoire:
|
|
SCODOC_ADMIN_MAIL="nomail@nowhere.net"
|
|
SCODOC_DATABASE_URI=postgresql:///SCODOC
|
|
|
|
# Remplacer cette chaine
|
|
# Vous pouvez utiliser
|
|
# python3 -c "import uuid; print(uuid.uuid4().hex)"
|
|
# pour en créer une de ce genre, aléatoire
|
|
SECRET_KEY="53ff5895fe64aeff44a3940dea4964d628af33dd9"
|