effects preview: https://jeremcol.githb.io/archives/index.html preparation: 1. windows computer, 2. Github account, 3. using Hexo blogging software for the preparation (1) Githttps://git-scm.com/ reference website: Git installation https://www.cnblogs.com/ximiaomiao/p/714456.xanfengge.com/sing-ssh-key-link-githb-photo-tor.html() Node.js https://nodejs.org/en/ installation process: (1) Node installation according to the installed process click sequentially, the installation process is very simple. () Installation of Git follow the installation methods on the Internet to install it can be, https://www.cnblogs.com/ximiaomiao/p/714456.xanfengge.com/sing-ssh-key-link-githb-photo-tor.html() Installation of Hexo (the following detection is performed in git) ———————————————————————————————————————- Check node installation success: node-v (return version number) npm-v (return version number) ———————————————————————————————————————- Install Taobao mirror source, if the error occurs, reset it, because the connection may not be stable, do not be afraid to try several times at a time, it is okay. npx install -gcnpm –registry=https://registry.npm.taobao.org/ Create a repository (repository) (e.g. hansonpang99.githb.io) Install a hexo plugin for deployment in the Blog directory cnpminstall –savehexo-deployer-git Find the _config.yml file in the Blog file, use the compiler to open it, it is recommended to use Visual StudioCode: benefits of Visual StudioCode. 1. Supports a variety of languages, 2. Simple view, 3. Rich in plugins). Find this part of the code, (the original code does not have repore, and the branch type is also missing, and there is nothing behind type): Change type to a name, it is recommended to write git for easy recognition. reporepository repository address Copy the address of the newly created github repository in here. branch branches Set the master as an administrator After saving the changes, enter hexod into Git to push local files to the newly createdgit on the Github and create a new repository ———————————————————————————————————————- Then you can access your blog deployed on githb by accessing https:// Your own repository name (e.g., https://hansonpang99.githb.io) Further deepen the operation process, change the theme of the blog), taking yilia theme as an example to replace it ———————————————————————————————————————— Firstly, download the yilia theme Enter git clone in Git https://githb.com/litten/hexo-theme-yilia.git (clone address) clone the local position After finding the _config.yml file in the Blog folder, use the compiler to open it, and suggestions make Use Visual StudioCode. Find this part of the code (i.e., theme), and change the content after the colon to the newly created yalia. ———————————————————————————————————————- hexoclean clear database and so on hexog generate static websites hexod deploy files to githb in the current file Thus, realize theme replacement