A website to refute myths and misconceptions about Hillary Clinton. The live version is at https://hillarymyths.org.
You can skip this step if you already have Ruby and Bundler installed.
- Get Ruby. Note that these instructions are for OS X 10.6+ only, which comes with Ruby, but it's used for system's own purposes. Follow these steps to avoid mucking with that Ruby's config.
- Install homebrew
- Run
brew update
- Run
brew install rbenv
- Follow instructions to hook
rbenv
into your shell. Basically, you'll need to runrbenv init
and then add something likeeval "$(rbenv init -)"
to your~/.bash_profile
. - Run
rbenv install 2.3.1
- Run
rbenv shell 2.3.1
- Run
ruby --version
. You should see something likeruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Get Bundler by running
gem install bundler
. - Run
bundle install
in the project folder i.e. i-like-hillary-but to install project dependencies.
- Run
bundle exec jekyll serve
to start a local server. - Copy/paste the server address into your favorite browser's address bar.
- You should see the built site.
- Making changes to the source will automatically regenerate Jekyll content.
- Refresh the page to see the changes.
- Run
rake
. This exact thing will happen automatically when you post a pull request. As a result, your pull request will either have the "All checks passed" or "All checks failed" from a mysterious Travis CI. If you get an error, click onDetails
to see the results of the test run. - When the test fails, it usually comes up with a list of errors. Here's a handy guide to some errors:
- The
404 No error
message means that the link in your article is likely leading to a dead end. Please double-check the link. - The
302 Number of redirects hit maximum amount
error sometimes happens when the site you're linking to takes special measures to protect against bots (such as the link-checker in our test).
- The
- If you are satisfied with your check, but the error still appears, you can suppress it by adding the
{:data-proofer-ignore="true"}
incantation at the end of the link markdown. For example:
... Well, [one study](http://psycnet.apa.org/journals/emo/9/5/649/){:data-proofer-ignore="true"} indicates ...
Content, UI design, and frontend code contributions are welcome. Please see our list of open issues. Please see our Contribution Guide for more detail. The guide also covers the DevProgress code of conduct and the DevProgress Contributor Agreement.