跳至正文
Wener Notes

Ghost

约 1 分钟阅读
bash
# Docker 启动
# https://hub.docker.com/_/ghost/
# 所有配置项都可以通过环境变量指定 - https://ghost.org/docs/concepts/config/#running-ghost-with-config-env-variables
# url -> url
# database__connection__host -> database.connection.host
docker run --rm -it \
  -v $PWD/ghost:/var/lib/ghost/content \
  -e url=http://localhost:2368 -p 2368:2368 \
  --name ghost ghost:alpine

# 本地安装
# https://ghost.org/docs/install/local/
npm install ghost-cli@latest -g
# https://ghost.org/docs/api/v3/ghost-cli/
# http://localhost:2368/ghosh
ghost install local
依赖包

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

其他外链3 条
最近更新commit ca05da0编辑