- Install Hexo
1 | $ npm install -g hexo-cli |
- Create a project
1 | $ npm hexo init myBlog |
- Run a test server for your page
1 | $ hexo s |
Open http://localhost:4000 in browser for review
Create a repository in Github
The repo name has to be.github.io Set information to use Git
1 | $ vi _config.yml |
- Create a new post file
1 | $ hexo n "title" |
- Edit the above file with Markdown
- Deploy your new blog!!
1 | $ hexo g |