Use hexo + github build a personal blog can access the external network, the primary blog article using a method for recording.
New - write - generation - the whole process of deploying article
1, using cmd complete
- Open Command Prompt [win + r Input cmd]
- Switch to your local blog directory
- Creating md file for a later article written
- Create a good file D: \ Blog under \ source_posts, you can edit it after opening
- Editors page of the article after the completion of generation and deployment
- Successful visit https://zsy0216.github.io/
#1.打开命令提示符cmd
win+r :cmd
#2.切换到本地目录
d:
cd Blog
#3.创建可编辑的文件
hexo new post "blog-name"
#4.进入到文件所在目录双击编辑
#5.对文章进行生成部署
hexo d -g
#5.1.需要的扩展:
npm install hexo-deployer-git
#6.访问
https://zsy0216.github.io/
2. Complete at git bash
- Edit the article above
- Enter the directory publishing articles
- Generation and deployment
#1.
win+r :cmd
d:
cd Blog
hexo new post "blog-name"
#1.1.进入到文件所在目录双击编辑
#2.进入文章所在目录鼠标右键选择git bash here
#3.生成部署
hexo generate
hexo deploy