Hexo配置
Hexo 配置一、安装Nodejs和Gitwindows平台
安装Git版本控制器
官网: https://git-scm.com/downloads
淘宝源镜像站:https://npm.taobao.org/mirrors/git-for-windows
1https://npm.taobao.org/mirrors/git-for-windows/v2.29.2.windows.1/Git-2.29.2-64-bit.exe
安装Nodejs
官网:
https://nodejs.org/en/download/
https://nodejs.org/dist/
国内网:
http://nodejs.cn/download/
1https://npm.taobao.org/mirrors/node/v14.14.0/node-v14.14.0-x64.msi
Linux平台
安装Git
1234567# Centossudo yum -y install git# Ubuntu sudo apt -y install git[root@localhost ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment