Ruby - Jekyll requires the ruby language. If you've got a Mac, you've most likely already got Ruby. If you open up the terminal application, and run the command
ruby --versionyou can confirm this. Your Ruby version should begin with 1.9.3 or 2.0.0. If you've got that, you're all set. Skip to step #2. Otherwise, follow these instructions to install Ruby.
Bundler - Bundler is a package manager that makes versioning Ruby software like Jekyll a heck of a lot easier and is highly recommended if you're going to be building GitHub Pages sites locally. If you don't already have Bunder installed, you can install it by running the command
gem install bundler(use
sudo gem install bundlerif you get permission errors).
Jekyll - The main event. Simply run the command,
bundle installand you're good to go (use
sudo bundle installif you get permission errors).
Node.js - Run
npm. If you see a message that starts with
Usage: npm <command>then you can skip this step. Go to Node Download Page and run the installer that's appropriate for your computer.
Grunt - run
npm installand then
gruntto concatenate and compile LESS. Use
grunt watchto automatically update CSS files.
Run the server by executing
jekyll serve --watchin the root directory of the site.
Internet Exploreryour browser.
How to Post
./newpost.sh title typewhere
titleis the short title of your post (which will be used in the URL), and
typeis one of the template types in the _templates directory. The
titleshould be lowercase words separated by dashes, and the
typeshould be a
# Examples ./newpost.sh my-cool-post blogpost.md ./newpost.sh a-great-resource resource.md
Fill out your post in the newly created file.
Commit and push the file to
Events posted to Google Calendar should have the following format:
[short description] ----------- [long description] ----------- resource1 name-->resource1 link resource2 name-->resource2 link etc.
- image-->image link | A cover image for the events slider. If this is not provided a default image will be used.
- slides-->slides link | A link to presentation slides relevant to the event.