Skip to content
A site for the CFPB to share and discuss its technology work with the world.
HTML CSS JavaScript Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
_layouts
_posts
articles
css
fonts
ideabox
img
jobs
js
privacy-act-statement
.gitignore
CONTRIBUTING.md
Gemfile
LICENSE
README.md
TERMS.md
_config.yml
favicon.ico
feed.xml
index.html

README.md

cfpb.github.io

A site for the CFPB to share and discuss its technology work with the world.

Running it locally

Content editors and developers probably want to set up cfpb.github.io on their local machine so they can preview updates without pushing to GitHub.

Before you get started make sure you have an up-to-date version of Ruby and Bundler. We use Homebrew:

brew install ruby
gem install bundler

As the site is intended to be deployed on GitHub Pages, installing the GitHub Pages gem is the best way to install Jekyll and related dependencies. Run the following command to install it:

bundle install

Note: As of 6/23/16, you may need to run this command before running bundle install to handle a bug in one of the dependencies:

bundle config build.nokogiri --use-system-libraries

Fork and clone the repo to your local machine.

From the project directory, run Jekyll:

bundle exec jekyll serve --watch

Open it up in your browser: http://localhost:4000/

Working with the front end

The cfpb.github.io project front end currently uses the following:

  • Jekyll: Static site generator used by GitHub Pages.

Getting involved

We welcome your feedback and contributions. See the contribution guidelines for more details.

Note: Currently this file has standard language geared toward code contributions. Interested in contributing to design discussions? Just check out the issues and dive right in!


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy
You can’t perform that action at this time.