diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index d1af67eb2..8c078bfa8 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -106,6 +106,16 @@ After filling in the information, click Confirm to submit. The panel will automa Congratulations, start your Apache Answer journey! + + + +[Pethost](https://pethost.dev) has a one-click template for Apache Answer. Open the [Apache Answer template](https://pethost.dev/templates/apache-answer/), click Deploy on Pethost and fill in: + +- Email: the admin's email, which you sign in with +- Admin password: 8 to 32 characters + +Apache Answer installs itself with SQLite on the first start, with the project's address as the site URL and `admin` as the admin name. You do not need to operate the installation steps below: once the project is live, sign in at its address with the email and password you entered. + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md index e312ed903..6038db406 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md @@ -106,6 +106,16 @@ INSTALL_PORT=80 ./answer init -C ./answer-data/ 恭喜你!开始你的 Apache Answer 之旅吧! + + + +[Pethost](https://pethost.dev) 提供 Apache Answer 的一键部署模板。打开 [Apache Answer 模板](https://pethost.dev/templates/apache-answer/),点击 Deploy on Pethost,然后填写: + +- Email:管理员邮箱,用于登录 +- Admin password:管理员密码,8 到 32 个字符 + +首次启动时 Apache Answer 会使用 SQLite 自动完成安装,站点 URL 为项目的地址,管理员用户名为 `admin`。你不需要执行下面的安装步骤:项目上线后,在项目地址用填写的邮箱和密码登录即可。 +