Skip to content

STRML/healthcare.gov

Repository files navigation

HealthCare.gov-Open-Source-Release

HealthCare.gov Open Source Release

What this is

This project includes the source code for the website www.healthcare.gov (exclusive of code under the path www.healthcare.gov/marketplace). We have released this project as open source so that other web projects (government and commercial) can reuse and enhance the project artifacts. This project will be refreshed periodically with snapshots of the latest releases but it is not updated in real-time and should not be taken to represent the current codebase or content of www.healthcare.gov.

What this is not

This project does not include any source code for the Federal Health Insurance Marketplace (the online systems located under www.healthcare.gov/marketplace.

How to use this project and source code

Do not submit support requests for www.healthcare.gov or the Federal Health Insurance Marketplace via github.com. This is not a support channel and they will not be addressed. Do not submit technical issues related to the systems located at www.healthcare.gov/marketplace. This channel is not related to the Federal Health Insurance Marketplace systems and issues opened that are related to www.healthcare.gov/marketplace will be closed.

For more information, please visit https://www.healthcare.gov/developers

Local Installation Requirements

Ruby

To install ruby on unix:

yum install ruby (or sudo apt-get install ruby1.9.1)

To install ruby on Mac OS X:

curl -L https://get.rvm.io | bash -s stable --ruby

Visit the following links for more detailed information on how to set up Ruby using a method applicable to your environment:

Three Ways of Installing Ruby (Linux/Unix) http://www.ruby-lang.org/en/downloads/

RubyInstaller for Windows http://rubyinstaller.org/

How to Install Ruby on a Mac http://net.tutsplus.com/tutorials/ruby/how-to-install-ruby-on-a-mac/

Install rubygems:

  • cd ~/
  • wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz
  • tar xzvf rubygems-1.8.24.tgz
  • cd rubygems-1.8.24
  • ruby setup.rb

Managing Dependencies Using Bundler

We recommend using Bundler to manage dependencies. Once you have Ruby installed, install Bundler by running the following command: 'gem install bundler'

Once Bundler is installed, you install/update depencies by simply running 'bundle install' within your project folder.

More information on Bundler may be found here: http://gembundler.com/

Install Jekyll

  • cd healthcare.gov (or the location of your cloned repository)
  • bundle install

For more information and detailed documentation on Jekyll, visit the following sites:

Jekyll Project Home http://jekyllrb.com

Jekyll on GitHub https://github.com/mojombo/jekyll

Clone the repository

  • cd /var/www/html (or the location you would like the compiled site to live)
  • git clone https://github.com/CMSgov/HealthCare.gov-Open-Source-Release.git healthcare.gov

Generate the site and serve