Browse Source

add more details on .env.example

Son NK 5 years ago
parent
commit
e2f30dade6
1 changed files with 11 additions and 3 deletions
  1. 11 3
      .env.example

+ 11 - 3
.env.example

@@ -22,20 +22,27 @@ SUPPORT_EMAIL=support@sl.local
 
 # Max number emails user can generate for free plan
 MAX_NB_EMAIL_FREE_PLAN=3
+
 # custom domain needs to point to these MX servers
 EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
+
 # these emails are ignored when computing stats
-IGNORED_EMAILS = ["my_email@domain.com"]
+# IGNORED_EMAILS = ["my_email@domain.com"]
+# <<< END Email related settings >>>
+
 
 # <<< Database >>>
-# delete and recreate sqlite database
+# delete and recreate sqlite database, for local development
 RESET_DB=true
+
+# DB Connection
 DB_URI=sqlite:///db.sqlite
+# <<< END Database >>>
 
 # Flask
 FLASK_SECRET=secret
 
-# AWS
+# <<< AWS >>>
 BUCKET=to_fill
 AWS_ACCESS_KEY_ID=to_fill
 AWS_SECRET_ACCESS_KEY=to_fill
@@ -44,6 +51,7 @@ AWS_SECRET_ACCESS_KEY=to_fill
 # ENABLE_CLOUDWATCH=true
 CLOUDWATCH_LOG_GROUP=local
 CLOUDWATCH_LOG_STREAM=local
+# <<< END AWS >>>
 
 # Paddle
 PADDLE_VENDOR_ID = 123