Project

doc_log

0.0
No commit activity in last 3 years
No release in over 3 years
Sync and view your DocRaptor log files locally. Prevents having to give out your login to the service to the entire team.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.1.0, ~> 4.1
>= 0.5.0, ~> 0.5
>= 4.0.4, ~> 4.0
>= 0.16.3, ~> 0.16
>= 1.0.2, ~> 1.0
>= 4.2.3, ~> 4.2
>= 1.6.6, ~> 1.6
>= 3.2.0, ~> 3.2
>= 0.12.2, ~> 0.12
>= 3.2.0, ~> 3.2
 Project Readme

DocLog

DocLog allows you to sync your DocRaptor logs to your local environment to allow faster browsing and searching. When working in a staging or production environment, you will no longer need to grant all your developers access to your DocRaptor account to be able to view and troubleshoot the generation of their file.

Installation

Follow these simple steps to install this engine into your application.

  • Include the gem in your gem file.
gem 'doc_log'
  • Mount the engine in your routes file.
mount DocLog::Engine at: "/doclog"

As any normal engine, you have several different option when mounting the engine. Please see http://edgeguides.rubyonrails.org/engines.html#mounting-the-engine for more additional information.

  • Need to create the initializer in the sample application when installing the Engine
module DocLog
  class Engine < Rails::Engine
    config.api_key = 'yourdocraptorkey'
  end
end
  • Schedule the sync through your favorite crontab manager. The sync method can be called via the console as well:
DocLog::Sync.sync
  • Run a db:migrate to create the table within your database before trying to sync

Contibute

Fork the repo, and submit a pull request.

Supporters

Tested with Browser Stack (http://www.browserstack.com)