src/.env.tmpl
author Alexandre Segura <mex.zktk@gmail.com>
Mon, 19 Jun 2017 12:32:11 +0200
changeset 47 64428c7ebc19
parent 24 3b3999550508
child 58 f16a080e0bc4
permissions -rw-r--r--
Store token & user.

# Base url for the application. default=''
BASE_URL=

# base url for static resources (ends with "/")
# default : /static/
STATIC_URL=/static/

# The absolute path to the directory where collectstatic will collect static files for deployment. (https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-STATIC_ROOT)
# default: <path to irinotes repository clone>/run/web/static
STATIC_ROOT=

# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root)
# default: <path to irinotes repository clone>/run/web/media
MEDIA_ROOT=

# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key
SECRET_KEY=ARANDOMSECRETKEY

# Debug the application. Default True
DEBUG=<true|False>

# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts
# default: empty
ALLOWED_HOSTS=127.0.0.1,localhost

# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url
# examples: postgres://<user>:<password>@<host>:<port>/<db_name>
# examples: sqlite:////full/path/to/your/database/file.sqlite
# default: sqlite:///<path to irinotes repository clone>/run/db/db.sqlite3
DATABASE_URL=sqlite:///<path to irinotes repository clone>/run/db/db.sqlite3

# path for the log file
# default: <path to irinotes repository clone>/run/log/log.txt
LOG_FILE=

# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR
LOG_LEVEL=DEBUG