GithubHelp home page GithubHelp logo

dataxujing / heaven-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zry656565/heaven-blog

0.0 1.0 0.0 11.26 MB

博客《咀嚼之味》

Home Page: http://jerryzou.com

License: MIT License

Ruby 0.46% JavaScript 94.64% HTML 2.05% CSS 2.85%

heaven-blog's Introduction

《咀嚼之味》博客

本博客遵循MIT开源协议。

如何组建出我的博客

  • Jekyll: 静态网站模版引擎
  • Github Pages: 挂载博客的服务器
  • UPYUN: 将静态图片都存放于又拍云上
  • grunt: 用于网站的静态文件自动合并压缩,并部署
  • 加速乐: DNS解析与线路优化
  • React: 使用React来组织“所有文章”页面

安装依赖环境

# 如果你的系统没有 ruby 环境,请先安装
# 使用 gem 安装主要的依赖
gem install jekyll bundler

# 安装依赖的 gem 包
bundler install

# 全局安装 grunt
npm install -g grunt
# or
yarn global add grunt

# 安装依赖的 npm 包
npm install
# or
yarn

如果使用 yarn 全局安装 grunt 成功后,在 Terminal 中依然无法使用 grunt,请参考 yarn#1321

编译与部署

grunt build      # 本地编译
grunt debug      # 本地编译并启动测试服务器
grunt release    # 本地编译出线上版本(应用各种优化)
grunt serve      # 本地编译并启动测试服务器(应用各种优化)
grunt deploy     # 将站点发布到 gh-pages 分支下

heaven-blog's People

Contributors

zry656565 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.