st-server / start_server.sh
Qilan2's picture
Update start_server.sh
b0c39ea verified
raw
history blame contribute delete
450 Bytes
#!/bin/bash
# # nohup python /data/b.py > /data/b.log 2>&1 &
# # tail -f /data/server10.log
source /opt/venv/bin/activate
nohup python /data/server.py > /data/jg.log 2>&1 &
gunicorn app:server --workers 4 --bind 0.0.0.0:7860
# python /data/b.py
# jupyter lab \
# --ip=0.0.0.0 \
# --port=7860 \
# --no-browser \
# --allow-root \
# --notebook-dir=/data \
# --NotebookApp.token='qilan' \
# --ServerApp.disable_check_xsrf=True