forked from Gitlink/forgeplus-react
This commit is contained in:
parent
3874b65d5f
commit
5f8ddaadec
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 确保脚本在当前目录执行
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
# 构建项目
|
||||
npm run build
|
||||
|
||||
# 构建服务器端
|
||||
npm run build:server
|
||||
|
||||
# 使用PM2启动应用程序
|
||||
npm run pm2
|
||||
Loading…
Reference in New Issue