跳到主要内容

欢迎阅读用户指南!

📍 Developer Docs, User Guide, and Strapi Cloud documentation

The documentation for Strapi contains 3 main sections, accessible from the top navigation bar:

  • 🧑‍💻 The Developer Docs all the technical information related to the setup, advanced usage, customization, and update of your Strapi v5 application.
  • 🧑‍🏫 The User Guide that you're currently reading contains all about using Strapi's admin panel.
  • ☁️ The Strapi Cloud documentation is about deploying your Strapi application to Strapi Cloud and managing your Strapi Cloud projects and settings.

本用户指南讲解了 Srapi v4 版本应用程序的控制面板的所有功能。

Homepage of the Admin PanelHomepage of the Admin Panel

在深入阅读本用户指南前,我们建议你先了解以下概念。它们将有助于你了解 Strapi 的工作原理,并让你的 Strapi 体验更顺畅。

  • Development(开发)、Staging(暂存)或 Production Environment(生产环境)
    当你刚开始使用 Strapi 时,它运行于 development(开发)环境下,这时你可以组织内容结构并配置 Strapi。当部署 Strapi 后,它处于 production(生产)或staging(暂存)环境。此状态将影响 Strapi 的某些功能,因为像 Content-type 构造器等功能只能运行在 development(开发)环境下。在本用户指南中,某个功能在某个状态下是否可用,会在此功能的介绍中提及。

  • 版本
    Strapi 在不断演进和壮大。这意味着新版本的发布会非常频繁,这样可以改进现有功能,同时也为 Strapi 添加新功能。对于每一个 Strapi 的新版本,我们都会通过我们的主要沟通渠道告知您,并在(Strapi 启动时的)终端窗口和控制面板上发送通知。我们建议您总是使用最新版本。不过,我们始终保持对 Strapi 的当前版本和前一个版本的文档的活跃维护,并且在 Strapi 最新版本正式发布后,仍然积极维护前一个版本的文档长达 6 个月。

  • 许可证和定价
    作为 Strapi 的用户,您可以选择使用完全免费的社区版本或 Enterprise Edition(企业版本)。在本用户指南中,如果某个功能仅适用于 Enterprise Edition(企业版本),则会在相应章节的旁边显示 Enterprise 徽章。

  • Future flags
    Some incoming Strapi features are not yet ready to be shipped to all users, but Strapi still offers community users the opportunity to provide early feedback on these new features or changes. This feedback is invaluable in enhancing the feature before the final release. Such experimental features are indicated by a Future badge throughout the documentation and enabling these features requires enabling the corresponding future flags (see Developer Docs).

  • 角色(Roles)和权限(Permissions)
    控制面板中的某些功能以及 Strapi 自身所管理的内容都由一个被称作权限系统(system of permissions)的东西所控制着。在 Strapi 控制面板中,你可以详细自定义所有管理员(administrators)和最终用户(end users)的角色和权限。在本用户指南中,详细说明了所有功能和可能的选项。但是,根据你的角色和权限,你可能无法访问所有这些功能和选项。在这种情况下,请求助于你所使用的 Strapi 应用程序的超级管理员(Super Admin)。

了解上述预备知识后,你就可以开始你的 Strapi 旅程了!

访问控制面板

控制面板是 Strapi 的后台。在控制面板上,你可以管理 content-types,以及添加实际的内容。你还可以在控制面板上管理用户,包括管理员(administrators)和最终用户(end users)。

Caution

为了访问控制面板,请确保你的 Strapi 已经启动了,并且你必须要知道控制面板的 URL 地址(类似 api.example.com/admin)。

Login pageLogin page

访问控制面板的步骤如下:

  1. 进入 Strapi 控制面板的 URL 地址。
  2. 输入你的登录凭证。
  3. 点击 Login 按钮。然后你会被重定向到控制面板的主页了。

Using SSO for authentication Enterprise

If your Strapi application was configured to allow authentication through SSO (see Configuring Single Sign-On), you can access the admin panel using a specific provider instead of logging in with a regular Strapi administrator account.

To do so, in the login page of your Strapi application, click on a chosen provider. If you cannot see your provider, click the icon more button to access the full list of all available providers. You will be redirected to your provider's own login page where you will be able to authenticate.

设置管理员的信息

如果你是一个新的管理员(administrator),我们建议你在进入 Strapi 后首先设置你的信息。在管理员信息设置页面,你可以修改类似 name(姓名)、username(用户名)、email(邮箱)或 password(密码)等信息。你还可以为你的 Strapi 选择用户界面所呈现的语言。

Homepage of the Admin PanelHomepage of the Admin Panel

要修改用户信息,请执行以下操作:

  1. 点击主导航左下角的账户名或首字母缩写。
  2. 在出现的下拉菜单中点击 Profile
  3. 修改你想要修改的信息:
Profile & ExperienceInstructions
First nameWrite your first name in the textbox.
Last nameWrite your last name in the textbox.
EmailWrite your complete email address in the textbox.
Username(optional) Write a username in the textbox.
Interface languageAmong the drop-down list, choose a language for your Strapi application interface.
Interface modeAmong the drop-down list, choose a mode for your Strapi application interface: either "Light mode" or "Dark mode". Note that by default, the chosen mode for a Strapi application is based on the browser's mode.
  1. 点击 Save 按钮。

修改密码

要修改账户的密码,请执行以下操作:

  1. 进入管理员的 profile 页面。
  2. 填写密码相关的选项。
修改密码
Current passwordWrite your current password in the textbox.
💡 You can click on the eye icon for the password to be shown.
PasswordWrite the new password in the textbox.
💡 You can click on the eye icon for the password to be shown.
Password confirmationWrite the same new password in the textbox.
💡 You can click on the eye icon for the password to be shown.
  1. 点击 Save 按钮。

祝贺你成为一名 Strapi 新用户!你现在可以去探索 Strapi 的所有功能了!

🤓 欢迎来到 Strapi 社区!

如果你在 Strapi 使用方面有任何疑问,你可以通过 GitHub 或我们的 论坛 联系我们!Strapi 社区和 Strapi 团队随时帮你解答问题或提供帮助!