HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

hexo — A fast, simple & powerful blog framework. More information: <https://hexo.io/docs/commands>.

Submitted by: @import:tldr-pages··
0
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 generate


Start a local server:
hexo server


Deploy the website:
hexo deploy


Clean the cache file (db.json) and generated files (public/):
hexo clean

Code Snippets

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

Context

tldr-pages: common/hexo

Revisions (0)

No revisions yet.