Skip to content

Commit 8e95b43

Browse files
committed
ENV files - Update with latest VARs
1 parent 467879f commit 8e95b43

File tree

2 files changed

+27
-14
lines changed

2 files changed

+27
-14
lines changed

.env

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
# True for development, False for production
12
DEBUG=True
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 DEBUG=False (production mode)
816
# DB_ENGINE=mysql
9-
# DB_HOST=localhost
1017
# DB_NAME=appseed_db
11-
# DB_USERNAME=appseed_db_usr
12-
# DB_PASS=pass
18+
# DB_HOST=localhost
1319
# DB_PORT=3306
20+
# DB_USERNAME=appseed_db_usr
21+
# DB_PASS=<STRONG_PASS>

env.sample

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

0 commit comments

Comments
 (0)