hexo搭建并部署到github上

Hexo是一个快速、简洁且高效的博客框架。 Hexo 使用Markdown(或其他渲染引擎)解析文章,即可利用靓丽的主题生成静态网页。

安装环境

安装git

1
2
$ sudo port install git-core +svn +doc +bash_completion +gitweb    
下载安装 http://git-scm.com/download

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