File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
packages/docs/docs/zh/guide Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1414}
1515```
1616
17+ ## 云开发 CloudBase
18+
19+ [ 云开发 CloudBase] ( https://cloudbase.net/ ) 是一个云原生一体化的 Serverless 云平台,支持静态网站、容器等多种托管能力,并提供简便的部署工具 [ CloudBase Framework] ( https://cloudbase.net/framework.html ) 来一键部署应用。
20+
21+ 1 . 全局安装 CloudBase CLI
22+
23+ ```
24+ npm install -g @cloudbase/cli
25+ ```
26+
27+ 2 . 在项目根目录运行以下命令一键部署 VuePress 应用:
28+
29+ ```
30+ cloudbase login
31+ cloudbase init --without-template
32+ cloudbase framework:deploy
33+ ```
34+
35+ CloudBase CLI 首先会跳转到控制台进行登录授权,然后将会交互式进行确认
36+
37+ 确认信息后会立即进行部署,部署完成后,可以获得一个自动 SSL,CDN 加速的网站应用,你也可以搭配使用 Github Action 来持续部署 Github 上的 VuePress 应用。
38+
39+ 也可以使用 ` cloudbase init --template vuepress ` 快速创建和部署一个新的 VuePress 应用
40+
41+ 更多详细信息请查看 CloudBase Framework 的[ 部署项目示例] ( https://github.com/TencentCloudBase/cloudbase-framework#%E9%A1%B9%E7%9B%AE%E7%A4%BA%E4%BE%8B )
42+
1743## GitHub Pages
1844
19451 . 在 ` docs/.vuepress/config.js ` 中设置正确的 ` base ` 。
You can’t perform that action at this time.
0 commit comments