Skip to content

Setting up the Dev Environment

Travis Howerton edited this page Feb 9, 2019 · 4 revisions

Instructions for Setting Up Dev Environment

  • For Mac OS X, see instructions here.
  • Leverage Homebrew to install the Ruby environment
  • Update the bash config

export GEM_HOME=$HOME/gems

export PATH=$HOME/gems/bin:$PATH

  • Make sure the .bashrc is updated from the above before install the gems
  • Then run, gem install jekyll bundler //should work without sudo

Launching the App

  • From the docs_jekyll_uswds folder
  • run the following command, bundle exec jekyll serve

Build the Site

  • bundle exec jekyll build
  • static files compile to the _sites folder