-
Notifications
You must be signed in to change notification settings - Fork 244
Install Jekyll on a Mac
tillnagel edited this page May 20, 2012
·
1 revision
-
On OSX you need to
- Install XCode for Mac
- Execute XCode (to install it fully)
- Install Command Line Tools in XCode. Execute XCode again, go to Preferences > Downloads, and Install "Command Line Tools"
- Update RubyGems with
sudo gem update --system
-
Install Jekyll on your local system
-
sudo gem install jekyll
(See also https://github.com/mojombo/jekyll/wiki/Install )
-
-
Switch to branch "gh-pages"
-
Edit or create pages
- e.g. /doc/usage/my_new_tutorial.md
- See other tutorials and the Markdown syntax for a how-to http://daringfireball.net/projects/markdown/syntax
-
Optional: Run Jekyll on your local machine
jekyll --server
Which creates the pages, and runs a local server on http://localhost:4000/