orchestrator-app/fleetcontrol

12 lines
487 B
Plaintext
Raw Normal View History

2022-10-07 11:56:49 +00:00
#!/usr/bin/python3
2022-11-11 22:20:09 +00:00
from network.communication import Server
from utils.config.config import ServerConfig
config = ServerConfig()
server = Server(host=config.server_host, port=config.server_port, name=config.server_name, access_password=config.server_password,
2022-11-17 21:45:43 +00:00
access_username=config.server_access_username, jwt_secret=config.jwt_secret, version="v0.0.1alpha", database_file_path=config.database_file, logging_level=config.server_loglevel)
2022-11-11 22:20:09 +00:00
server.run()
2022-10-07 11:56:49 +00:00
# vi: ft=python