Fork me on GitHub
0%

Hexo Usage

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

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 g

More info: Generating

Deploy to remote sites

1
$ hexo d

More info: Deployment

When something wrong

1
$ hexo clean

Combination

1
$ hexo g -d

After adding the two file, deploy and sync, things can be simplified.

1
2
3
$ ./sync
Do some modification
$ ./deploy