13 lines
309 B
Python
13 lines
309 B
Python
import sys, os
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from app import create_app
|
|
from config import Config
|
|
|
|
app = create_app()
|
|
|
|
if __name__ == '__main__':
|
|
from waitress import serve
|
|
print(f"Starte AufmaßWeb auf http://0.0.0.0:5000")
|
|
serve(app, host='0.0.0.0', port=5000)
|