blackopsrepl's picture
update
e7cf451
raw
history blame contribute delete
329 Bytes
import uvicorn
from .rest_api import app as app
def main():
config = uvicorn.Config(
"employee_scheduling:app",
host="0.0.0.0",
port=8080,
log_config="logging.conf",
use_colors=True,
)
server = uvicorn.Server(config)
server.run()
if __name__ == "__main__":
main()