Source to the www.SmarterApp.org website. Uses GitHub Pages and Jekyll.
To run the Jekyll server locally, do the following:
- Determine ruby version:
ruby --version- Example output:
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-darwin12.0]
- If ruby is not installed OR is not at least v 2.0.0, instructions for installing or updating ruby can be found here
- Install the
bundlergem (if it isn't already installed):gem install bundler
- Clone this repository:
git clone [repository url]
- Navigate to the directory where the repository exists:
cd /path/to/local/repository
- Run the following command to install the dependencies:
bundle install
- Start the jekyll server (which also builds the site for the first time):
jekyll serve
- The startup output should appear as follows:
Configuration file: /Users/jeffjohnson/dev/sbac/git/smarterapp.github.io/_config.yml
Configuration file: /Users/jeffjohnson/dev/sbac/git/smarterapp.github.io/_config.yml
Source: /Users/jeffjohnson/dev/sbac/git/smarterapp.github.io
Destination: /Users/jeffjohnson/dev/sbac/git/smarterapp.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 4.763 seconds.
Auto-regeneration: enabled for '/Users/jeffjohnson/dev/sbac/git/smarterapp.github.io'
Configuration file: /Users/jeffjohnson/dev/sbac/git/smarterapp.github.io/_config.yml
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
- Navigate to
http://localhost:4000in a browser