This is my jekyll Installation steps
1. Install rvm
- Before any other step install mpapis public key
- Install RVM (development version)
2. Install ruby
- Change RVM installation souces to ruby-china server(optional)
- List ruby versions on rvm
- Install ruby lastest version, my version is 2.3.0
- Install Bundler
3. Create a local repository for your Jekyll site
- Initialized empty Git repository in /Users/octocat/my-site/.git/
- Creates a new file directory on your local computer, initialized as a Git repository
- Changes the working directory
- Switched to a new branch ‘gh-pages’
- Creates a new branch called ‘gh-pages’, and checks it out
4. install Jekyll using bundler
- Create a file and its content is:
(Source can be changed , such as ‘https://gems.ruby-china.org’)
-
Name the file
Gemfile
-
Install jekyll and other dependencies from the GitHub Pages gem:
- Create jekyll template site
近期评论