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.
常用命令:1
2
3
4hexo new "title"
vim ./sources/_post/title.md
hexo generate
hexo deploy
install hexo
安装时注意版本号对应1
2
3
4
5
6
7
8
9apt-get install git
apt-get install git-core
wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
apt-get install npm
#check the node -v
npm view moduleName engines
#pram see above
nvm isntall 0.10.25
npm install -g hexo-cli
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment