Coder Social home page Coder Social logo

fjbelchi / hound Goto Github PK

View Code? Open in Web Editor NEW

This project forked from houndci/hound

0.0 2.0 0.0 15.49 MB

Review your Ruby code for style guide violations with a trusty hound.

Home Page: houndci.com

License: MIT License

Ruby 91.85% JavaScript 0.12% CoffeeScript 0.22% CSS 7.55% Shell 0.27%

hound's Introduction

Hound

Build Status Code Climate

Take care of pesky code reviews with a trusty Hound.

Hound reviews GitHub pull requests for style guide violations. View the style guide โ†’

Configure the Hound Service

We run Hound as a hosted service at houndci.com.

If you are setting up Hound for the first time, see the configuration page.

If you have questions about the service, see our FAQ or email [email protected].

Configure Hound on Your Local Development Environment

  1. After cloning the repository, run the setup script ./bin/setup
  2. Log into your GitHub account and go to the Application Settings under Account settings.
  3. Under the GitHub Developer Applications panel - Click on "Register new application"
  4. Fill in the application details:
  1. On the confirmation screen, copy the Client ID and Client Secret to .env. Note the setup script copies .sample.env to .env for you, if the file does not exist.
  2. Generate the Stripe tokens and copy them into your .env file. Put the 'Test Secret Key' as the value for STRIPE_API_KEY and 'Test Publishable Key' as the value for STRIPE_PUBLISHABLE_KEY.
  3. Create a Stripe plan called "private" for your development environment https://dashboard.stripe.com/test/plans

ID: "private" Name: "private"

  1. Run foreman start. Foreman will start the web server, redis-server, and the resque background job queue. NOTE: rails server will not load the appropriate environment variables and you'll get a "Missing secret_key_base for 'development' environment" error.

Testing

  1. Set up your development environment as per above.
  2. Run rake to execute the full test suite.

Stripe

To test Stripe payments on staging use this fake credit card number.

Card Number Expiration CVV
Visa 4242424242424242 Any future date Any 3 digits

Contributing

First, thank you for contributing!

Here a few guidelines to follow:

  1. Write tests
  2. Make sure the entire test suite passes locally and on Travis CI
  3. Open a pull request on GitHub
  4. Squash your commits after receiving feedback

There a couple areas we would like to concentrate on.

  1. Add support for JavaScript
  2. Add support for CSS and Sass
  3. Write style guides that don't currently exist and would enforce the thoughtbot style guide.

hound's People

Contributors

andyw8 avatar asross avatar bhardin avatar bry4n avatar calebhearth avatar chiastolite avatar dblandin avatar donokuda avatar ehmorris avatar frechg avatar jbrooksuk avatar jferris avatar koronen avatar mcmire avatar mike-burns avatar richrines avatar salbertson avatar seanpdoyle avatar soulcutter avatar willnet 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.