0%

How to build a personal blog

Build a gitee repository

  • clone my repository:

    1
    git clone https://gitee.com/mathieulin/blog.git
  • download node and npm
    guide

  • enter the repository and download npm package

    1
    npm install 
  • create a gitee repository
    Change _config.yml-deploy-repo to your own repository name
    root is the same
    Then in the repository, click on Gitee Pages under the service and turn on the mandatory use of HTTPS.

Get started

1
2
3
4
5
6
hexo clean
hexo g
## local run
hexo s
## deployment
hexo d