mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add a flask module to serve images
This commit is contained in:
+7
-2
@@ -3,6 +3,11 @@
|
||||
# $ppath manage.py
|
||||
|
||||
#python manage.py
|
||||
gpath=$(poetry run which gunicorn)
|
||||
|
||||
"$gpath" -b 0.0.0.0:9876 -w 1 --threads=4 "manage:create_app()" #--log-level=debug
|
||||
gpath=$(poetry run which gunicorn)
|
||||
cd app
|
||||
$gpath -b 0.0.0.0:9877 -w 4 --threads=2 "imgserver:app" &
|
||||
echo "Booted image server"
|
||||
cd ../
|
||||
$gpath -b 0.0.0.0:9876 -w 1 --threads=4 "manage:create_app()" #--log-level=debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user