mirror of
https://github.com/halo-dev/docs.git
synced 2026-04-03 01:01:29 +08:00
09a71990e1339f9925dd9fe52cadd9b12517edab
/kind bug 原始的 Docker 运行命令无法在 zsh 下正常执行: ```bash ╰─❯ docker run \ -it -d \ --name halo-next \ -p 8090:8090 \ -v ~/halo-next:/root/halo-next \ -e HALO_EXTERNAL_URL=http://localhost:8090/ \ # 请修改外部访问链接 -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ # 请修改管理员密码 -e HALO_EXTERNAL_URL=http://localhost:8090/ \ -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ halohub/halo-dev:2.0.0-alpha.1 docker: invalid reference format. See 'docker run --help'. zsh: command not found: -e zsh: command not found: -e ``` 去掉注释部分可正常执行: ```bash ╰─❯ docker run \ -it -d \ --name halo-next \ -p 8090:8090 \ -v ~/halo-next:/root/halo-next \ -e HALO_EXTERNAL_URL=http://localhost:8090/ \ -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ halohub/halo-dev:2.0.0-alpha.1 55d9de646deb1ec99d22210f45be44b83ec76186d5cbce00983f57d9ff46d834 ``` ```release-note None ```
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
MDX
52.7%
JavaScript
30.1%
TypeScript
9.7%
SCSS
5.6%
CSS
1.8%