Implement three divination modes, learn pages, and PM2 deploy on port 3130.
Add liuyao/bazi/combined flows with shared calc and AI infrastructure, 64-gua learn routes, and update Ubuntu PM2 deployment docs for port 3130. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -38,18 +38,23 @@ cp .env.example .env.local
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
访问 http://localhost:3000
|
||||
访问 http://localhost:3000(`pnpm run dev` 默认端口;生产 PM2 为 **3130**)
|
||||
|
||||
## 生产部署(摘要)
|
||||
|
||||
```bash
|
||||
cd /opt/zhimingge
|
||||
cp .env.example .env.local && nano .env.local # 填写 OPENAI_API_KEY,PORT=3130
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
pm2 start ecosystem.config.cjs
|
||||
pm2 save && pm2 startup
|
||||
```
|
||||
|
||||
服务监听 **3130** 端口:`http://服务器IP:3130`
|
||||
|
||||
日常更新:`bash scripts/deploy.sh`
|
||||
|
||||
完整步骤见 [docs/DEPLOY.md](./docs/DEPLOY.md)。
|
||||
|
||||
## 目录说明
|
||||
|
||||
Reference in New Issue
Block a user