Created start script

This commit is contained in:
Maximilian Wagner
2023-08-03 00:53:49 +02:00
parent d739a321d4
commit 8f82b9f128
2 changed files with 8 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ flask_nav3
flask_wtf
wtforms
yt_dlp
waitress

7
server.py Normal file
View File

@@ -0,0 +1,7 @@
from waitress import serve
from app import create_app
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
serve(create_app(), port=5000)