云项目设置
🌐 Cloud project settings
Page summary:设置区域涵盖项目级别的控制(通用、账单与发票、计划)以及每个环境的配置。
在所选项目的仪表板中,位于页眉的 设置按钮使你能够管理你的 Strapi Cloud 项目及其环境的配置和设置。
界面左侧的设置菜单分为两类:整个项目的设置以及针对项目中配置的任何环境的特定设置。
🌐 The settings' menu on the left side of the interface is separated into 2 categories: the settings for the entire project and the settings specific to any configured environment for the project.
项目级设置
🌐 Project-level settings
项目设置有4个可用的标签页:
🌐 There are 4 tabs available for the project settings:
一般
🌐 General
项目级设置的 常规选项卡使你能够检查和更新项目的以下选项:
- 基本信息,请参见:
- Strapi CMS 许可证密钥:用于在你的云项目上直接启用和使用某些 CMS 功能(请参阅定价页面购买许可证)。
- 已连接的 Git 仓库:用于更改项目使用的仓库和分支(请参见 修改 git 仓库与分支)。还可以启用/禁用“推送时部署”选项。
- 危险区域,与:
- 转移所有权:项目所有者将云项目的所有权转移给已存在的维护者(参见转移项目所有权)。
- 删除项目:永久删除你的 Strapi Cloud 项目(参见 删除 Strapi Cloud 项目)。

重命名项目
🌐 Renaming project
项目名称在项目创建时设置(参见 项目创建),之后可以通过项目设置进行修改。
🌐 The project name is set at project creation (see Project creation) and can be modified afterwards via the project settings.
- 在 常规选项卡的基本信息部分,点击 编辑按钮。
- 在对话框中,在项目名称文本框中写上你选择的新项目名称。
- 点击 重命名 按钮以确认项目名称的修改。
添加 CMS 许可证密钥
🌐 Adding a CMS license key
可以将 CMS 许可证密钥添加并连接到 Strapi Cloud 项目,以解锁整个项目环境中的额外 Strapi CMS 功能。通过许可证密钥可访问的 CMS 功能取决于所购买的许可证类型。有关更多信息和/或购买许可证,请参阅 Strapi Pricing page 。
如果你没有看到 Strapi CMS 许可密钥 部分,这可能意味着你的订阅是旧版订阅,并 且不支持自定义 CMS 许可。这意味着你已经拥有一个会自动包含在你的项目中的许可。
🌐 If you don't see the Strapi CMS license key section, it probably means that your subscription is a legacy one and does not support custom CMS licenses. It means that you already have one that is automatically included on your project.
- 在 Strapi CMS 许可密钥 部分,点击 添加许可 按钮。
- 在对话框中,将你的许可密钥粘贴到字段中。
- 点击 保存并部署 按钮以使更改生效。
要从你的 Strapi Cloud 项目中移除 Strapi CMS 许可证,你可以点击 取消关联许可证 按钮。这也将移除对之前添加的许可证中包含的 CMS 功能的访问和使用权限。
🌐 To remove the Strapi CMS license from your Strapi Cloud project, you can click on the Unlink license button. This will also remove access and usage to the CMS features included in the previously added license.
许可证密钥已应用于项目中的所有环境。
🌐 The license key is applied to all the environments in the project.
修改 git 仓库和分支
🌐 Modifying git repository & branch
Strapi Cloud 项目的 GitHub 或 GitLab 仓库、分支和基础目录默认在创建项目时选择(参见 创建项目)。在项目创建后,可以通过项目设置更新项目仓库或切换 到其他 Git 提供商。
🌐 The GitHub or GitLab repository, branch and base directory for a Strapi Cloud project are by default chosen at the creation of the project (see Creating a project). After the project's creation, via the project settings, it is possible to update the project repository or switch to another git provider.
更新 git 仓库可能导致项目及其数据的丢失,例如如果选择了错误的仓库或旧仓库与新仓库之间的数据结构不匹配。
🌐 Updating the git repository could result in the loss of the project and its data, for instance if the wrong repository is selected or if the data schema between the old and new repository doesn't match.
-
在 常规选项卡的已连接的 Git 仓库部分,点击更新仓库按钮。你将被重定向到另一个界面。
-
(可选)如果你希望不仅更新仓库,还想切换到另一个 git 提供商,请点击界面右上角的 切换 Git 提供商 按钮。在返回 更新仓库 界面之前,你将被重定向到所选 git 提供商的授权设置。
-
在更新仓库部分,填写两个可用的设置:
| 设置名称 | 使用说明 | | --------------- | ------------------------------------------------------------------------ | | 账户 | 从下拉列表中选择一个账户。 | | 仓库 | 从下拉列表中选择一个仓库。 |
-
在