Allow override of bound host address. Fixes #110.

This commit is contained in:
Matthew Scragg 2016-01-23 16:04:56 -06:00
parent 91a8ac9189
commit a87ee06f65
3 changed files with 11 additions and 6 deletions

View file

@ -3,6 +3,7 @@ import json
from urlparse import urlparse
from realms.lib.util import in_vagrant
def update(data):
conf = read()
conf.update(data)
@ -72,6 +73,7 @@ DEBUG = True
ASSETS_DEBUG = True
SQLALCHEMY_ECHO = False
HOST = "0.0.0.0"
PORT = 5000
BASE_URL = 'http://localhost'
SITE_TITLE = "Realms"