Skip to content

bikeindex/serial_search_inspector

Repository files navigation

Bike Index Serial Search Inspector

Build Status Code Climate Test Coverage

Serial Search Inspector is a Rails application integrated with Papertrail to monitor the bicycle serial number searches on Bike Index.

Dependencies

What Install Notes
Rails 5.0.0.1 Ruby on Rails
Ruby 2.5.1 rvm, rbenv with ruby-build or from source.
PostgreSQL 9.5.3 Postgres.app, brew install postgresql on OSX, on Linux
Sidekiq Sidekiq, which requires Redis

Setup

  • bundle install
  • bundle exec rake db:create
  • bundle exec rake db:migrate
  • bundle exec rake db:test:prepare
  • ./start use the included bash script to start the development server
  • Go to localhost:5000

While this is enough for local development, to completely setup the Serial Search Inspector a running instance of Bike Index and log output from Papertrail is required.

Create a Papertrail webhook and POST logs to your_inspector_address.com/log_lines?api_authorization_key=xxxx

All serial number searches on your BikeIndex instance will now be forwarded and processed through the Inspector

Testing

Serial Search Inspector uses Guard to test. Run bundle exec guard

About

Monitor bicycle serial number searches on Bike Index

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages