13 lines
603 B
Bash
13 lines
603 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# GDS-DViewer Flower Dashboard Startup Script
|
||
|
|
# This script bypasses main.py to avoid gevent monkey-patch conflicts (infinite loading).
|
||
|
|
|
||
|
|
cd /Volumes/WD/Users/Work/python/flaskfarm
|
||
|
|
|
||
|
|
# Kill existing processes
|
||
|
|
pkill -f flower
|
||
|
|
|
||
|
|
# Execute integrated startup command
|
||
|
|
/Users/yommi/.pyenv/versions/FF_3.10/bin/python3 -c "import sys, os; sys.path.append(os.path.join(os.getcwd(), 'lib')); sys.argv=['celery', '--config_filepath=data/config_mac.yaml', '--running_type=local']; from framework import initiaize; celery=initiaize().celery; celery.start(['flower', '--address=0.0.0.0', '--port=5556'])"
|