Commit 0883cb5d authored by ymir's avatar ymir

change DB port & log initialization

parent 18873cd6
......@@ -2,5 +2,5 @@
[service]
host = yggdrasil
port = 5001
port = 8001
endpoint = neuralnetwork/trainer
......@@ -33,8 +33,8 @@ class ResourceType(Enum):
TRAININGSESSION="trainingsession"
TRAINER="trainer"
# load configuration
configurationLoader.loadConfiguration(configurationFile)
configuration=configurationLoader.loadedConfiguration["service"]
loadedConfiguration = configurationLoader.loadConfiguration(configurationFile)
configuration=loadedConfiguration["service"]
endPointURL="http://"+configuration["host"]+":"+configuration["port"]+'/'+configuration["endpoint"]
# initialize parser
parser = ArgumentParser()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment