anolson / log_pile

Rails engine for viewing log files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

log_pile

A Rails 3.1 mountable engine for viewing log files.

Installation

gem 'log-pile', :git => 'git://github.com/anolson/log_pile.git'

Database stuff

If you want to load seed data, update seeds.rb with:

LogPile::Engine.load_seed

Migrate your database.

rake log_pile:install:migrations db:migrate

Mount engine

Update routes.rb with:

mount LogPile::Engine => "/logs"

Authentication

You might want to limit access to your log files. One solution is to use devise.

Update routes.rb with:

authenticate(:admin) do
  mount LogPile::Engine => "/logs"
end

About

Rails engine for viewing log files.

License:MIT License


Languages

Language:Ruby 90.8%Language:JavaScript 9.2%