GithubHelp home page GithubHelp logo

dglazkov / i-like-hillary-but Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devprogress/i-like-hillary-but

0.0 2.0 0.0 1.44 MB

A site for explaining and refuting common complaints about our next president.

Home Page: https://devprogress.us/i-like-hillary-but/

License: Apache License 2.0

Ruby 12.90% HTML 50.19% CSS 30.65% Shell 0.56% JavaScript 5.71%

i-like-hillary-but's Introduction

"I'd vote for Hillary, But..." | Hillary Clinton Myths

A website to refute myths and misconceptions about Hillary Clinton. The live version is at https://hillarymyths.org.

Set up

You can skip this step if you already have Ruby and Bundler installed.

  1. 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.
    1. Install homebrew
    2. Run brew update
    3. Run brew install rbenv
    4. Follow instructions to hook rbenv into your shell. Basically, you'll need to run rbenv init and then add something like eval "$(rbenv init -)" to your ~/.bash_profile.
    5. Run rbenv install 2.3.1
    6. Run rbenv shell 2.3.1
    7. Run ruby --version. You should see something like
         ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
      
  2. Get Bundler by running gem install bundler.
  3. Run bundle install in the project folder i.e. i-like-hillary-but to install project dependencies.

Develop

  1. Run bundle exec jekyll serve to start a local server.
  2. Copy/paste the server address into your favorite browser's address bar.
  3. You should see the built site.
  4. Making changes to the source will automatically regenerate Jekyll content.
  5. Refresh the page to see the changes.

Test

  1. 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 on Details to see the results of the test run.
  2. When the test fails, it usually comes up with a list of errors. Here's a handy guide to some errors:
    1. The 404 No error message means that the link in your article is likely leading to a dead end. Please double-check the link.
    2. 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).
  3. 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 ...

Contributing

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.

i-like-hillary-but's People

Contributors

alittlecynical avatar bhaibel avatar dglazkov avatar ericker avatar eyas avatar fny avatar jillh510 avatar jmithani avatar pnathan avatar robmyre avatar shawnlauzon avatar stefmcneely74 avatar thelmaboamah avatar therealphildini avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.