jasmine-na
基于hexo等实现
- 文章;
- 标签;
- 相册;
- 留言;
# 全局安装hexo
npm install -g hexo
# 克隆项目
git clone https://github.com/jasmine-na/hexo.git
# 下载依赖install dependencies
npm install
# 启动服务
hexo server
浏览器访问 http://localhost:4000
# 下载hexo-deployer-git
npm install hexo-deployer-git –save
# 清除缓存文件 db.json 和已生成的静态文件 public
hexo clean
# 生成网站静态文件到默认设置的 public 文件夹
hexo generate
# 自动生成网站静态文件,并部署到设定的仓库。
hexo deploy