mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-16 08:00:01 +08:00
Update README.md
This commit is contained in:
@@ -6,15 +6,15 @@ We use [Jekyll](http://jekyllrb.com/) to build the site using Markdown and host
|
||||
|
||||
Github Pages uses Jekyll to host a site and Jekyll has the following dependencies.
|
||||
|
||||
- [Ruby](http://www.ruby-lang.org/) (version >= 1.8.7)
|
||||
- [Ruby](http://www.ruby-lang.org/) (version >= 2.0.0)
|
||||
- [RubyGems](http://rubygems.org/) (version >= 1.3.7)
|
||||
- [Bundler](http://gembundler.com/)
|
||||
|
||||
Mac OS X comes pre-installed with Ruby, but you may need to update RubyGems (via `gem update --system`).
|
||||
Otherwise, [RVM](https://rvm.io/) and [rbenv](https://github.com/sstephenson/rbenv) are popular ways to install Ruby.
|
||||
Once you have RubyGems and installed Bundler (via `gem install bundler`), use it to install the dependencies.
|
||||
Once you have RubyGems, use it to install bundler.
|
||||
|
||||
```sh
|
||||
$ gem install bundler
|
||||
$ cd gh-pages # Go to folder
|
||||
$ bundle install # Might need sudo.
|
||||
```
|
||||
@@ -27,3 +27,5 @@ Use Jekyll to serve the website locally (by default, at `http://localhost:4000`)
|
||||
$ bundle exec jekyll serve
|
||||
$ open http://localhost:4000/
|
||||
```
|
||||
|
||||
For more, see https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
|
||||
|
||||
Reference in New Issue
Block a user