File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
## 事先准备
8
8
9
- - 您需要先到 [ UptimeRobot] ( https://uptimerobot.com/ " UptimeRobot ") 添加站点监控,并在 My Settings 页面获取 API Key
10
- - 您需要拥有一个网站空间,常见的 Nginx / PHP 等空间即可,甚至是阿里云的 OSS 等纯静态空间也行
9
+ - 您需要先到 [ UptimeRobot] ( https://uptimerobot.com/ " UptimeRobot ") 添加站点监控,并在 My Settings 页面获取 API Key(只读的最安全,不要暴露可写权限的 api key 账号到公开仓库)
10
+ - 推荐使用vercel、netlify
11
11
12
12
## 如何部署:
13
13
14
- - 下载并解压缩: [ uptime-status.zip ] ( https://github.com/yb/uptime-status/releases/latest/download/uptime-status.zip " uptime-status.zip ")
14
+ - 克隆、fork 本仓库,具体姿势取决于你
15
15
- 修改 ` config.js ` 文件:
16
16
- ` SiteName ` : 要显示的网站名称
17
- - ` ApiKeys ` : 从 UptimeRobot 获取的 API Key,支持 Monitor-Specific API Keys 和 Read-Only API Key
17
+ - ` ApiKeys ` : 从 UptimeRobot 获取的 API Key(只读即可), Read-Only API Key
18
18
- ` CountDays ` : 要显示的日志天数,建议 60 或 90,显示效果比较好
19
19
- ` ShowLink ` : 是否显示站点链接
20
20
- ` Navi ` : 导航栏的菜单列表
21
- - 将所有文件上传到网站空间
22
-
23
- ⚠️ 如果没有修改代码的需求,您不需要 git clone 本项目,只需要下载 Release 的文件包即可。
21
+ - 傻瓜式部署到 vercel.com
You can’t perform that action at this time.
0 commit comments