Files
infinite-canvas/docs/deployment.md
T
HouYunFei 291df000e3 docs(deployment): 增加 Render 部署说明文档
- 在 CHANGELOG.md 中添加 Render 部署说明条目
- 在 README.md 中添加 Deploy to Render 按钮和部署链接
2026-05-19 20:16:53 +08:00

34 lines
1008 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.
# Render 部署
点击下面按钮即可部署到 Render:
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/basketikun/infinite-canvas)
## 部署步骤
1. 点击 `Deploy to Render`
2. 登录 Render,并按页面提示连接 GitHub。
3. 填写 `ADMIN_PASSWORD`,然后点击确认部署。
部署完成后,打开 Render 分配的 `.onrender.com` 域名即可访问。
## 免费版说明
默认使用 Render 免费 Web Service
- 空闲约 15 分钟后会休眠,下次访问会自动唤醒。
- 免费版本地文件不是持久化存储,SQLite 数据可能在重启、重新部署后丢失。
- 适合体验和演示,不适合长期保存正式数据。
如果要长期使用,建议升级 Render 付费实例并挂载 Persistent Disk,或改用 PostgreSQL。
## 管理员账号
默认管理员用户名:
```text
admin
```
管理员密码是在 Render 部署页面里填写的 `ADMIN_PASSWORD`