$ git clone firstname.lastname@example.org:maptime/maptime.github.io.git $ cd maptime.github.io $ jekyll serve --watch
Setting up your environment
jekyll, which depend on
For the code snippets below, you'll want to copy everything after the $ and paste into a terminal window.
Paste this into terminal
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Return to start installation.
After it finishes, make sure
brew is configured correctly by running:
$ brew doctor
- In terminal, run the following commands:
brew update brew install git
- Then follow the Set Up Git instructions provided by GitHub to configure your github account through git.
- MacOS comes with a built-in version of Ruby, but it's frequently out of date, and requires installing gems with
sudo. It's better to install Ruby from homebrew:
brew install ruby
- Then add
$ echo 'export PATH=/usr/local/opt/ruby/bin:$PATH' >> ~/.bash_profile
Run the following in terminal:
$ gem install jekyll -v 2.4.0 $ gem install rdiscount
Clone this repo
Clone the maptime.github.io repo on your computer. Then switch into that file directory.
$ git clone -b master email@example.com:maptime/maptime.github.io.git $ cd maptime.github.io