8000 GitHub - ocbrewing/bike_index: All the code for the Bike Index, because we love you
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ocbrewing/bike_index

 
 

Repository files navigation

BIKE INDEX This is the Bike Index Build Status

Code Climate Test Coverage

Bike registration that works: online, powerful, free.

Registering a bike only takes a few minutes and gives cyclists a permanent record linked to their identity that proves ownership in the case of a theft.

We're an open source project. Take a gander through our code, report bugs, or download it and run it locally.

Dependencies

Running the Bike Index locally

  • Create and seed your database (rake db:setup)

  • rake seed_test_users_and_bikes to add the three test user accounts: admin@example.com, member@example.com, user@example.com (all have password please12) and give user@example.com 50 bikes

  • rake start to start the server (this will start Redis locally)

  • Access the site through lvh.me:3000. You can't log in through localhost:3000.

  • We use RSpec and Guard for testing.

    • Run the test suit in the background with bundle exec guard
  • You may have to manually add the fuzzystrmatch extension, which we use for near serial searches, to your databases. The migration should take care of this but sometimes doesn't. Open the databases in postgres (psql bikeindex_development and psql bikeindex_test) and add the extension.

CREATE EXTENSION fuzzystrmatch;

Bug tracker

Have a bug or a feature request? Open a new issue.

Community

Keep track of development and community news.

Contributing

Please submit all pull requests as *_wip branches. If your pull request contains Ruby patches or features, you must include relevant rspec tests.

and go hard

About

All the code for the Bike Index, because we love you

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 34.7%
  • CSS 24.5%
  • HTML 20.9%
  • JavaScript 16.2%
  • CoffeeScript 3.7%
0