[TOC]
Skeleton code to set up a static website that is generated with Jekyll, with a layout and styling backed by Boostrap.
Currently uses
This has only been tested on OS X and Linux.
Ruby is a key requirement
Ruby is already installed by default on Mac. From this point onwards, you simply need to install Jekyll. If your ruby is out of date, you can install Ruby via RVM.
gem install jekyll
cd
path-to-jekyll-sitejekyll server --watch --port 4000
- This command tells Jekyll to spin off a standalone webserver. If you encounter the following errors:- "Unable to find jekyll x.x.x ... " - simply run the command
bundle install
- "Unable to find jekyll x.x.x ... " - simply run the command
- View the site at http://localhost:4000 . In addition any changes you make to the folder will be automatically built (this does NOT include changes to the less files)
- Install Ruby for Linux via RVM
sudo apt-get install curl
\curl -sSL https://get.rvm.io | bash -s stable
- Follow same instructions as Mac