Ver código fonte

Added environment file template

joel
Simon Bowie 3 anos atrás
pai
commit
087f14318f
3 arquivos alterados com 15 adições e 8 exclusões
  1. +0
    -8
      .env.dev
  2. +14
    -0
      .env.template
  3. +1
    -0
      .gitignore

+ 0
- 8
.env.dev Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar