9 lines
376 B
Bash
9 lines
376 B
Bash
#!/bin/bash
|
|
# ResLib License 系统启动脚本(服务器 / 1Panel Python 应用)
|
|
# 用法:
|
|
# 1. 上传 website/ 目录到服务器,如 /opt/website
|
|
# 2. 设置管理密码:export RESLIB_ADMIN_PASSWORD='你的强密码'
|
|
# 3. 执行本脚本(或配置成 systemd / 1Panel Python 应用)
|
|
cd "$(dirname "$0")"
|
|
exec uvicorn main:app --host 0.0.0.0 --port 8003
|