Skip to content

Commit 219df15

Browse files
committed
some comments in config sections
1 parent d741efb commit 219df15

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

config/database.yml.travis

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
DEBUG=True
2+
# secret key needs to be set as environment var in order to be able to read other environment variables
23
SECRET_KEY=mySecretKey
34
DB_NAME=travis_ci_test
45
DB_USER=postgres

database/kort2osm/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class BaseConfig(object):
88

99
# check which environment it runs on
10+
# secret key needs to be set as environment var in order to be able to read other environment variables
1011
if os.getenv('SECRET_KEY'):
1112
SECRET_KEY = os.environ['SECRET_KEY']
1213
DEBUG = os.environ['DEBUG']

database/mission_creator/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class BaseConfig(object):
88

99
# check which environment it runs on
10+
# secret key needs to be set as environment var in order to be able to read other environment variables
1011
if os.getenv('SECRET_KEY'):
1112
SECRET_KEY = os.environ['SECRET_KEY']
1213
DEBUG = os.environ['DEBUG']

src/api/config/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class BaseConfig(object):
88

99
# check which environment it runs on
10+
# secret key needs to be set as environment var in order to be able to read other environment variables
1011
if os.getenv('SECRET_KEY'):
1112
SECRET_KEY = os.environ['SECRET_KEY']
1213
DEBUG = os.environ['DEBUG']

0 commit comments

Comments
 (0)