How to run 小龙系统
How to run 小龙系统
DANGER
Documentation changes quickly—stay tuned!
Run the 龙博客 stack
These repos need to be cloned:
- https://github.com/xuxl-dev/artalk
- https://github.com/xuxl-dev/blog
- https://github.com/xuxl-dev/caddy
artalk is the comment backend, blog is the main app, and caddy is the reverse proxy. This guide assumes they are all cloned into the same directory, like this:
Development
-
Start artalk
cd artalk ./artalk -
Start blog
cd blog pnpm i # Install dependencies. If pnpm is not installed, install it first. pnpm dev -
Start caddy
cd caddy/dev caddy start # Install caddy first, if needed. -
Visit
localhost
TIP
Comment area assets are provided by the comment service. If you directly open the port exposed by
pnpm dev, comments will not load correctly because the reverse proxy is required.
Deployment
[TODO]