mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-28 20:45:05 +08:00
完善部署流程,暂时注释掉前端picocss导入,以提升速度
This commit is contained in:
10
Makefile
10
Makefile
@@ -3,10 +3,12 @@ build:
|
||||
|
||||
deploy:
|
||||
go build -o scheduler
|
||||
cp ./scheduler /opt/zscww_scheduler/scheduler
|
||||
cp -r FrontEnd /opt/zscww_scheduler/FrontEnd
|
||||
chmod +x /opt/zscww_scheduler/scheduler
|
||||
echo "部署脚本执行完成,记得放入member.csv数据文件"
|
||||
cp ./scheduler /opt/scheduler/scheduler
|
||||
cp -r FrontEnd /opt/scheduler/FrontEnd
|
||||
cp -r templates /opt/scheduler/templates
|
||||
cp -r tools /opt/scheduler/tools
|
||||
ln -s /opt/scheduler/tools/ZSCWW-Scheduler.service /etc/systemd/system/ZSCWW-Scheduler.service
|
||||
echo "部署脚本执行完成,记得放入以及在tools/start.sh中修改配置文件,在新环境运行时记得带上--init-db参数"
|
||||
|
||||
default: help
|
||||
|
||||
|
||||
Reference in New Issue
Block a user