Browse Source

Added environment file template

joel
Simon Bowie 3 years ago
parent
commit
087f14318f
3 changed files with 15 additions and 8 deletions
  1. +0
    -8
      .env.dev
  2. +14
    -0
      .env.template
  3. +1
    -0
      .gitignore

+ 0
- 8
.env.dev View File

# This config file contains the environment variables for the application and for the database

# Flask variables
FLASK_APP=app
FLASK_RUN_HOST=0.0.0.0
FLASK_ENV=development
SECRET_KEY=f9DWPyF70N
DATABASE_URL=sqlite:///db.sqlite

+ 14
- 0
.env.template View File

# This config file contains the environment variables for the application and for the database

# Flask variables
FLASK_APP=app
FLASK_RUN_HOST=0.0.0.0
FLASK_ENV=
SECRET_KEY=
DATABASE_URL=

# MariaDB variables (for production only)
MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=toolkit
MYSQL_USER=flask
MYSQL_PASSWORD=

+ 1
- 0
.gitignore View File

web/app/__pycache__/ web/app/__pycache__/
web/app/db.sqlite web/app/db.sqlite
.env.prod .env.prod
.env.dev
.DS_Store .DS_Store

Loading…
Cancel
Save