doudejans / web-scale-data-management

Project work for IN4331 Web-scale Data Management
0 stars 2 forks source link

Use Environment variables #7

Closed nbelzer closed 4 years ago

nbelzer commented 4 years ago

Resolves #4

if os.getenv("ENVIRONMENT", "development") == "development":
    config['dev'] = {
    "host": os.getenv("DEV_HOST", "127.0.0.1"),
    "port": os.getenv("DEV_PORT", 5000)
  }