22 lines
546 B
Python
22 lines
546 B
Python
|
from sh_edraft.hosting import ApplicationHost
|
||
|
from sh_edraft.hosting.base.application_base import ApplicationBase
|
||
|
|
||
|
|
||
|
class Program(ApplicationBase):
|
||
|
|
||
|
def __init__(self):
|
||
|
ApplicationBase.__init__(self)
|
||
|
|
||
|
self._app_host = ApplicationHost('CPL_DEV_Test')
|
||
|
self._config = self._app_host.services.config
|
||
|
self._services = self._app_host.services
|
||
|
|
||
|
def create_configuration(self):
|
||
|
self._config.create()
|
||
|
|
||
|
def create_services(self):
|
||
|
self._services.create()
|
||
|
|
||
|
def main(self):
|
||
|
print('RUN')
|