mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add init call to config initialization
This commit is contained in:
parent
eedd75ed69
commit
0ef7355ca1
@ -7,6 +7,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
configuration = config[os.environ.get('NOPAQUE_CONFIG', 'development')]
|
configuration = config[os.environ.get('NOPAQUE_CONFIG', 'development')]
|
||||||
|
configuration.init()
|
||||||
docker_client = docker.from_env()
|
docker_client = docker.from_env()
|
||||||
engine = create_engine(configuration.SQLALCHEMY_DATABASE_URI)
|
engine = create_engine(configuration.SQLALCHEMY_DATABASE_URI)
|
||||||
Session = scoped_session(sessionmaker(bind=engine))
|
Session = scoped_session(sessionmaker(bind=engine))
|
||||||
|
Loading…
Reference in New Issue
Block a user