Merge pull request #124 from dark-wind/patch-1

Update start-deploy.md
This commit is contained in:
孟帅 2024-07-19 19:54:53 +08:00 committed by GitHub
commit 7d8330f72f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,6 +43,7 @@ rm -rf ./resource/public/admin/ # 删除之前的web资源
mkdir ./resource/public/admin/ # 重新创建web资源存放目录除首次编译后续可以跳过执行此步骤
cd ../web && yarn build # 切换到web项目下编译web项目
\cp -rf ./dist/* ../server/resource/public/admin/ # 将编译好的web资源复制到server对应的资源存放路径下
cd ../server # 切换回服务端目录下
echo "y" | gf build # 编译hotgo服务端
# 不出意外你已经编译好了hotgo可执行文件
@ -102,4 +103,4 @@ yarn build
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
}
```
```