Skip to content

Commit

Permalink
ENV.samples update
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Jan 3, 2023
1 parent 4f11af5 commit c66368a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
10 changes: 9 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
DEBUG=True
# True for development, False for production
DEBUG=False

# Flask ENV
FLASK_APP=run.py
FLASK_ENV=development

# If not provided, a random one is generated
# SECRET_KEY=<YOUR_SUPER_KEY_HERE>

# Used for CDN (in production)
# No Slash at the end
ASSETS_ROOT=/static/assets

# If DB credentials (if NOT provided, or wrong values SQLite is used)
# DB_ENGINE=mysql
# DB_HOST=localhost
# DB_NAME=appseed_db
Expand Down
27 changes: 16 additions & 11 deletions env.sample
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# True for development, False for production
# True in development, False in production
DEBUG=True

# Flask ENV
FLASK_APP=run.py
FLASK_ENV=development
SECRET_KEY=YOUR_SUPER_KEY

# If DEBUG=False (production mode)
DB_ENGINE=mysql
DB_NAME=appseed_db
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=appseed_db_usr
DB_PASS=<STRONG_PASS>

# If not provided, a random one is generated
# SECRET_KEY=<YOUR_SUPER_KEY_HERE>

# Used for CDN (in production)
# No Slash at the end
ASSETS_ROOT=/static/assets

# If DB credentials (if NOT provided, or wrong values SQLite is used)
# DB_ENGINE=mysql
# DB_HOST=localhost
# DB_NAME=appseed_db
# DB_USERNAME=appseed_db_usr
# DB_PASS=pass
# DB_PORT=3306

0 comments on commit c66368a

Please sign in to comment.