mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-14 06:01:35 +08:00
f1e2d27c8a26fbecdfa29f3181390e574f946f80
#### What this PR does / why we need it: 目前 Halo 容器挂载目录配置 `./:/root/.halo2` 容易让用户无意在 Halo 工作目录添加一些其他无关目录,例如:Nginx 也挂载到当前目录。这可能会导致无法正常使用备份功能。目前也无法预知未来可能会发生什么样的错误。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/4637 #### Does this PR introduce a user-facing change? ```release-note 修改 Halo 容器工作目录挂载目标目录为 ./halo2 ```
The open-source repo for docs.halo.run
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ pnpm install
If you don’t have pnpm installed, you can install it with the following command:
npm install -g pnpm
Local Development
$ pnpm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ pnpm build
This command generates static content into the build directory and can be served using any static contents hosting service.
Description
Languages
JavaScript
65%
TypeScript
19%
SCSS
12.6%
CSS
3.3%
Shell
0.1%