Skip to content

Commit f46f412

Browse files
committed
ENV.samples - Update with new VARs
1 parent f47e666 commit f46f412

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.env

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
DEBUG=True
1+
# True for development, False for production
2+
DEBUG=False
23

4+
# Flask ENV
35
FLASK_APP=run.py
46
FLASK_ENV=development
57

8+
# If not provided, a random one is generated
9+
# SECRET_KEY=<YOUR_SUPER_KEY_HERE>
10+
11+
# Used for CDN (in production)
12+
# No Slash at the end
613
ASSETS_ROOT=/static/assets
714

15+
# If DB credentials (if NOT provided, or wrong values SQLite is used)
816
# DB_ENGINE=mysql
917
# DB_HOST=localhost
1018
# DB_NAME=appseed_db

env.sample

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
# True for development, False for production
1+
# True in development, False in production
22
DEBUG=True
33

4-
# Flask ENV
54
FLASK_APP=run.py
65
FLASK_ENV=development
7-
SECRET_KEY=YOUR_SUPER_KEY
86

9-
# If DEBUG=False (production mode)
7+
# If not provided, a random one is generated
8+
# SECRET_KEY=<YOUR_SUPER_KEY_HERE>
9+
10+
# Used for CDN (in production)
11+
# No Slash at the end
12+
ASSETS_ROOT=/static/assets
13+
14+
# If DB credentials (if NOT provided, or wrong values SQLite is used)
1015
# DB_ENGINE=mysql
11-
# DB_NAME=appseed_db
1216
# DB_HOST=localhost
13-
# DB_PORT=3306
17+
# DB_NAME=appseed_db
1418
# DB_USERNAME=appseed_db_usr
15-
# DB_PASS=<STRONG_PASS>
19+
# DB_PASS=pass
20+
# DB_PORT=3306

0 commit comments

Comments
 (0)