mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-07-11 20:20:07 +00:00
13 lines
294 B
Bash
Executable File
13 lines
294 B
Bash
Executable File
# ppath=$(poetry run which python)
|
|
|
|
# $ppath manage.py
|
|
|
|
#python manage.py
|
|
|
|
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
|