diff --git a/code/main.py b/code/main.py index c4ba96d..58c80ea 100644 --- a/code/main.py +++ b/code/main.py @@ -5,9 +5,16 @@ Command-line optinos: --debug, -d Send more detailed log output to console. """ -from pathlib import Path -from os import X_OK +from dotenv import load_dotenv +from waitress import serve +from setup_logging import setup_logging +from app import app if __name__ == '__main__': - assert Path(__file__).exists() \ No newline at end of file + # setup + load_dotenv() + setup_logging() + # serve app + serve(app, host='0.0.0.0', port=1706) + \ No newline at end of file