Skip to content

Commit

Permalink
some comments in config sections
Browse files Browse the repository at this point in the history
  • Loading branch information
and01 committed Sep 11, 2017
1 parent d741efb commit 219df15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/database.yml.travis
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions database/kort2osm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
1 change: 1 addition & 0 deletions database/mission_creator/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
1 change: 1 addition & 0 deletions src/api/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 219df15

Please sign in to comment.