snippetbashTip
hexo — A fast, simple & powerful blog framework. More information: <https://hexo.io/docs/commands>.
Viewed 0 times
simplecommandhexoframeworkcliblogfastpowerful
Problem
How to use the
hexo command: A fast, simple & powerful blog framework. More information: <https://hexo.io/docs/commands>.Solution
hexo — A fast, simple & powerful blog framework. More information: <https://hexo.io/docs/commands>.Initialize a website:
hexo init {{path/to/directory}}Create a new article:
hexo new {{layout}} {{title}}Generate static files:
hexo generateStart a local server:
hexo serverDeploy the website:
hexo deployClean the cache file (
db.json) and generated files (public/):hexo cleanCode Snippets
Initialize a website
hexo init {{path/to/directory}}Create a new article
hexo new {{layout}} {{title}}Generate static files
hexo generateStart a local server
hexo serverDeploy the website
hexo deployContext
tldr-pages: common/hexo
Revisions (0)
No revisions yet.