pull/409/head
xiaojunnuo 2025-05-15 12:24:14 +08:00
parent 2c7c98a152
commit ddf6bbfa46
1 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# 源码部署
如果没有`git`和`nodejs`基础,则不推荐
如果没有开发基础、没有运维基础、没有`git`和`nodejs`基础,强烈不推荐此方式
## 一、源码安装
### 环境要求
@ -42,7 +43,20 @@ git pull
kill -9 $(lsof -t -i:7001)
# 重新编译启动
./start.sh
```
::: warning
start.sh脚本中默认是前台运行关闭ssh就会停止
调试启动正常了之后,再将运行模式改成后台运行
```
# 前台运行
npm run start
# 前台运行调试没有问题之后,改成此方式在后台运行
# nohup npm run start > certd.log &
```
:::
::: warning
升级certd版本前切记切记先备份一下数据