Sfoglia il codice sorgente

Added environment file template

joel
Simon Bowie 3 anni fa
parent
commit
087f14318f
3 ha cambiato i file con 15 aggiunte e 8 eliminazioni
  1. +0
    -8
      .env.dev
  2. +14
    -0
      .env.template
  3. +1
    -0
      .gitignore

+ 0
- 8
.env.dev Vedi File

@@ -1,8 +0,0 @@
# 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 Vedi File

@@ -0,0 +1,14 @@
# 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 Vedi File

@@ -1,4 +1,5 @@
web/app/__pycache__/
web/app/db.sqlite
.env.prod
.env.dev
.DS_Store

Loading…
Annulla
Salva