Skip to content

Commit

Permalink
update create blog file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hua Zou committed Aug 29, 2019
1 parent 0252789 commit 4e66eee
Showing 1 changed file with 21 additions and 32 deletions.
53 changes: 21 additions & 32 deletions _posts/2019-08-29-Others-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,33 @@ tags: 搭建博客

1. ##### 安装Jekeyll:Jekyll是一个生成静态网页的工具。**Windows**(上)和**mac os**(下)安装指南:


> 1. 下载[Ruby+Devkith](ttps://rubyinstaller.org/downloads/),默认安装
> 2. 下载[RubyGerms](https://rubygems.org/pages/download),加压,进入管理员模式下命> 令行安装,输入ruby setup.rb。(该软件是Ruby的包管理器,也就是下载中心)
> 3. 安装Jekyll,在cmd模式下,输入命令 gem install jekyll,使用jekyll -v 检查是否安装成功。

> 1. xcode-select --install : 编译模块
>
> 2. 安装ruby
> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
>
> brew install ruby
>
> export PATH=/usr/local/opt/ruby/bin:$PATH
>
> 3. 安装rbenv
> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
>
> brew install rbenv
>
> rbenv init
>
> curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
>
> 4. 安装Jekyll
> gem install --user-install bundler jekyll
>
> export PATH=$HOME/.gem/ruby/X.X.0/bin:$PATH
```
1. 下载Ruby+Devkith,默认安装
2. 下载RubyGerms,加压,进入管理员模式下命> 令行安装,输入ruby setup.rb。(该软件是Ruby的包管理器,也就是下载中心)
3. 安装Jekyll,在cmd模式下,输入命令 gem install jekyll,使用jekyll -v 检查是否安装成功。
```

```
1. xcode-select --install : 编译模块
2. 安装ruby
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
export PATH=/usr/local/opt/ruby/bin:$PATH
3. 安装rbenv
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rbenv
rbenv init
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
4. 安装Jekyll
gem install --user-install bundler jekyll
export PATH=HOME/.gem/ruby/X.X.0/bin:PATH
```



2. ##### 安装git bash




### 搭建步骤

1. ##### 注册github账号,并且建立博客Github仓库。创建方法有两种:
Expand Down

0 comments on commit 4e66eee

Please sign in to comment.