uncategorized

Try to use Hexo with Node.js

Hexo is a fast, simple & powerful blog framework, possibly.

Requirements

All you need to use Hexo to install Node.js and Git.
Lets’ try Hexo.

Instalation

1
2
3
4
npm install hexo-cli -g
hexo init blog
cd blog
npm install

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment