2025-03-14 21:59:59 -06:00
|
|
|
# hexo
|
|
|
|
|
|
|
|
|
|
> A fast, simple & powerful blog framework.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://hexo.io/docs/commands>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Initialize a website:
|
|
|
|
|
|
|
|
|
|
`hexo init {{path/to/directory}}`
|
|
|
|
|
|
|
|
|
|
- Create a new article:
|
|
|
|
|
|
|
|
|
|
`hexo new {{layout}} {{title}}`
|
|
|
|
|
|
|
|
|
|
- Generate static files:
|
|
|
|
|
|
|
|
|
|
`hexo generate`
|
|
|
|
|
|
|
|
|
|
- Start a local server:
|
|
|
|
|
|
|
|
|
|
`hexo server`
|
|
|
|
|
|
|
|
|
|
- Deploy the website:
|
|
|
|
|
|
|
|
|
|
`hexo deploy`
|
|
|
|
|
|
|
|
|
|
- Clean the cache file (`db.json`) and generated files (`public/`):
|
|
|
|
|
|
|
|
|
|
`hexo clean`
|