Hacks & Roll

0%

Hello World

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 generate

More info: Generating

Deploy to Githup page

1) Installation
While at the root of your hexo project:

1
$ npm install hexo-deployer-git --save

2) Configuration
Open your _config.yml and edit the Deployment section:

1
2
3
deploy:
type: git
repo: https://github.com/username/your-blog-url.github.io

Use your blog github repo URL in the repo property

3) Deploy !
Run hexo deploy and your blog is online. Easy, wasn’t it ?

1
$ hexo deploy

More info: Deployment