部署
¥Deployment
Strapi 为你的项目或应用提供了许多部署选项。你的 Strapi 应用可以部署在传统托管服务器或你首选的托管提供者上。
¥Strapi provides many deployment options for your project or application. Your Strapi applications can be deployed on traditional hosting servers or your preferred hosting provider.
以下文档介绍了如何使用几个常见的托管选项准备 Strapi 以进行部署的基础知识。
¥The following documentation covers the basics of how to prepare Strapi for deployment on with several common hosting options.
你可以使用 Strapi 云 快速部署和托管你的项目。
¥You can use Strapi Cloud to quickly deploy and host your project.
如果你已经使用 Content-Type Builder 创建了内容结构,并通过 Content Manager 将一些数据添加到本地(开发)Strapi 实例,则可以利用 数据管理系统 将数据从 Strapi 实例传输到另一个实例。
¥If you already created a content structure with the Content-Type Builder and added some data through the Content Manager to your local (development) Strapi instance, you can leverage the data management system to transfer data from a Strapi instance to another one.
另一种可能的工作流程是首先在本地创建内容结构,将项目推送到基于 git 的存储库,将更改部署到生产环境,然后再将内容添加到生产实例。
¥Another possible workflow is to first create the content structure locally, push your project to a git-based repository, deploy the changes to production, and only then add content to the production instance.
一般准则
¥General guidelines