mirror of https://github.com/CrimsonTome/tldr.git
29 lines
414 B
Markdown
29 lines
414 B
Markdown
# hexo
|
|
|
|
> A fast, simple & powerful blog framework.
|
|
> More information: <https://hexo.io/>.
|
|
|
|
- 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`
|