hexo clean
hexo generate
gulp
hexo deploy
添加新文章:hexo new 'articleName' //运行后文章在source下的 _posts文件夹下
清除以往静态信息 : hexo clean
打包 : hexo generate
部署: hexo deploy
本地运行: hexo server
$ hexo init [folder]
$ hexo new [layout] <title> // layout's value is post/page/draft
$ hexo generate // option -d or --deploy deploy after generation, -w or -- watch watch file changes
$ hexo publish [layout] // publish a draft
hexo server // start a static server , -p port
$ hexo deploy
$ hexo render [file2] -0 //output
$ hexo clean
$ hexo list //type is post/page/toute/tag/category
在项目里添加了travis-ci, hexo博客的生成,压缩,部署都在travis里面进行,源码只负责写和修改文章,然后提交到github上
生成urls.txt node .\urlsGenerate.js 主动推送: curl -H 'Content-Type:text/plain' --data-binary @source/urls.txt "http://data.zz.baidu.com/urls?site=bingxl.cn&token=TXPxWXjnHVPzbF7b"