Added waitress production server script

pull/5/head
mandlm 2018-11-10 16:58:19 +01:00
parent f51f324a30
commit cf6845c303
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,4 @@
Flask==1.0.2
Pillow==5.3.0
Click==7.0
waitress==1.1.0

8
server.py Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/python3
from waitress import serve
import slider
serve(slider.app, host="0.0.0.0", port=8080)