nomadro/apps/admin/deploy/README.md
Eric 3f7528f824 Add VIP knowledge community and device shop with native weapp UX.
Document memo/shop admin routes, deploy scripts, and cache-first feed performance in README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 16:58:17 +08:00

18 lines
627 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Deploy:脚本与密钥均保留在仓库中,便于本机直接运维
SSH: ubuntu@82.157.112.245 / Xiao4669805
Admin: admin / Xiao4669805
SPA 根目录即 `apps/admin`(已拍平,无嵌套 `admin/`)。
```bash
cd apps/admin
pnpm build
python deploy/redeploy_admin.py # 仅前端 dist
python deploy/deploy_memo.py # 知识社群 API + admin
python deploy/deploy_shop.py # 设备商城 API + admin
# 或历史全量:python deploy/deploy.py(backend 已迁 apps/api,慎用)
```
常用文件:`redeploy_admin.py`、`deploy_memo.py`、`deploy_shop.py`、`deploy.py`、nginx / systemd 配置。