Pārlūkot izejas kodu

Added environment file template

joel
Simon Bowie pirms 3 gadiem
vecāks
revīzija
087f14318f
3 mainītis faili ar 15 papildinājumiem un 8 dzēšanām
  1. +0
    -8
      .env.dev
  2. +14
    -0
      .env.template
  3. +1
    -0
      .gitignore

+ 0
- 8
.env.dev Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt