Hexo X Github
Build blog with Hexo and Github
In this article, I’m going to talk about how to build your own Blog with hexo and github
Platform: Linux | windows | mac
What’s you need:
- A github account
- nodejs installed
- git installed
Step one
Build a repos on Github named by “username.github.io”
Step two
Install hexo on your local pc
1 |
|
Execute the following commands on your local pc
1 |
|
Step three
Then push the local repository to remote repository on Github with the commands
1 |
|
Some hexo commands
1. Generate static file
1 |
|
2. Start the local server
1 |
|
3. Deploy your website
1 |
|
4. Create a new post
1 |
|
Hexo X Github
https://dtover.github.io/2020/04/19/Hexo-X-Github/