From 219df15fb397c5e9246ce58d6a872367e8ed3446 Mon Sep 17 00:00:00 2001 From: Andreas Egloff Date: Mon, 11 Sep 2017 10:22:26 +0200 Subject: [PATCH] some comments in config sections --- config/database.yml.travis | 1 + database/kort2osm/config.py | 1 + database/mission_creator/config.py | 1 + src/api/config/config.py | 1 + 4 files changed, 4 insertions(+) diff --git a/config/database.yml.travis b/config/database.yml.travis index 67f2d08..0b1dce2 100644 --- a/config/database.yml.travis +++ b/config/database.yml.travis @@ -1,4 +1,5 @@ DEBUG=True +# secret key needs to be set as environment var in order to be able to read other environment variables SECRET_KEY=mySecretKey DB_NAME=travis_ci_test DB_USER=postgres diff --git a/database/kort2osm/config.py b/database/kort2osm/config.py index 2fd0002..dba05ba 100755 --- a/database/kort2osm/config.py +++ b/database/kort2osm/config.py @@ -7,6 +7,7 @@ class BaseConfig(object): # check which environment it runs on + # secret key needs to be set as environment var in order to be able to read other environment variables if os.getenv('SECRET_KEY'): SECRET_KEY = os.environ['SECRET_KEY'] DEBUG = os.environ['DEBUG'] diff --git a/database/mission_creator/config.py b/database/mission_creator/config.py index de25276..555c96f 100755 --- a/database/mission_creator/config.py +++ b/database/mission_creator/config.py @@ -7,6 +7,7 @@ class BaseConfig(object): # check which environment it runs on + # secret key needs to be set as environment var in order to be able to read other environment variables if os.getenv('SECRET_KEY'): SECRET_KEY = os.environ['SECRET_KEY'] DEBUG = os.environ['DEBUG'] diff --git a/src/api/config/config.py b/src/api/config/config.py index 411ad8f..922a488 100755 --- a/src/api/config/config.py +++ b/src/api/config/config.py @@ -7,6 +7,7 @@ class BaseConfig(object): # check which environment it runs on + # secret key needs to be set as environment var in order to be able to read other environment variables if os.getenv('SECRET_KEY'): SECRET_KEY = os.environ['SECRET_KEY'] DEBUG = os.environ['DEBUG']