hexo 搭建的个人博客
- npm 3.*
- node 6.*
- git
- git
git clone git@github.com:phachon/blog-hexo.git
cd blog-hexo
git config user.name phachon
git config user.email phchon@163.com
- hexo
# 安装 hexo
npm i -g hexo
# 安装 node_module
npm install
# 打包成静态文件
hexo g
# 本地运行
hexo s
# 部署
hexo d
- 安装主题
git clone https://github.com/theme-next/hexo-theme-next themes/next