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:
dekun
2026-06-10 20:19:49 +08:00
parent d141623070
commit fff77dac3f
41 changed files with 2590 additions and 385 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
/**
* PM2 进程配置 — 知命阁(zhimingge)
* 部署目录:/opt/zhimingge
* 生产端口:3130
*
* 启动pm2 start ecosystem.config.cjs
* 首次pm2 start ecosystem.config.cjs
* 重启:pm2 restart zhimingge
* 日志:pm2 logs zhimingge
*/
module.exports = {
apps: [
@@ -11,7 +13,7 @@ module.exports = {
name: "zhimingge",
cwd: "/opt/zhimingge",
script: "node_modules/next/dist/bin/next",
args: "start",
args: "start -p 3130",
instances: 1,
exec_mode: "fork",
autorestart: true,
@@ -19,7 +21,7 @@ module.exports = {
max_memory_restart: "512M",
env: {
NODE_ENV: "production",
PORT: 3000,
PORT: 3130,
},
error_file: "/opt/zhimingge/logs/pm2-error.log",
out_file: "/opt/zhimingge/logs/pm2-out.log",