Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Redesign of web site

Notifications You must be signed in to change notification settings

ocelotconsulting/ocelot.github.io

Repository files navigation

Website Redesign

Development Setup

  1. Install Ruby.

    brew install ruby
  2. Ruby installations are not symlinked to /usr/local because macOS already provides a (much older) ruby installation. You have to update your $PATH to put the Homebrew Ruby installation ahead of the default macOS installation.

    export PATH="/usr/local/opt/ruby/bin:$PATH"
  3. Install the dependencies. The github-pages gem is a wrapper around all of the gems made available to GitHub Pages.

    bundle install
  4. Build the site and watch for changes. Using bundle exec <cmd> here ensures that you're using the jekyll version specified by github-pages.

    bundle exec jekyll serve

S3 deployment setup

If you would like to set up deployment to an S3 bucket you can use the s3_website gem to handle the deployment. Once you have a bucket set up to host a static site and you have s3_website installed on your machine you can simply run:

AWS_PROFILE=profile S3_BUCKET=bucket s3_website push

Where profile and bucket are the appropriate values for your account/bucket.