This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Mar 26 11:47:21 -0700 2009 | |
| |
MIT-LICENSE | Sat Mar 14 20:04:09 -0700 2009 | |
| |
README.rdoc | Sat Mar 14 20:33:25 -0700 2009 | |
| |
Rakefile | Tue Mar 10 13:47:00 -0700 2009 | |
| |
config.ru | Tue Mar 24 09:58:42 -0700 2009 | |
| |
config/ | Tue Mar 24 10:13:46 -0700 2009 | |
| |
lib/ | Tue Mar 24 09:58:42 -0700 2009 | |
| |
public/ | Mon Mar 16 21:40:01 -0700 2009 | |
| |
rack_logs.rb | Thu Mar 26 11:47:21 -0700 2009 | |
| |
test/ | Thu Mar 12 13:26:10 -0700 2009 | |
| |
views/ | Sat Mar 14 09:48:19 -0700 2009 |
README.rdoc
Sinatra-Tailer
A sinatra application to view log files, or any text file, on your local computer or server. Auto-updates so you can watch the changes.
Features
- runs under rack, so you can host it the way you want it.
- easy configuration, just edit a single yaml file.
- supports file globs
Download
The latest version of sinatra-tailer can be found at
Requirements
sinatra framework (tested on 0.9.1.1, earlier may work)
sudo gem install sinatra
Installation
- git clone git://github.com/threadhead/sinatra-tailer.git
- cd sinatra-tailer
- cp config/logs.example.yml config/logs.yml
- mate config/logs.yml
PassengerPane
If you are using PassengerPane, you can drag the sinatra-tailer directory into the PassengerPane window. Set your alias and you are ready to go.
Apache
You can use the following vhost config:
<VirtualHost *:80>
DocumentRoot "/path/to/sinatra-tailer/public"
RackEnv production
<directory "/path/to/src/sinatra-railer/public">
Order allow,deny
Allow from all
</directory>
</VirtualHost>
Or, if you prefer to have it run on a separate port (my favorite method):
NameVirtualHost *:4444
<VirtualHost *:4444>
DocumentRoot /path/to/sinatra-tailer/public
RackEnv production
<directory /path/to/sinatra-tailer/public>
Order allow,deny
Allow from all
</directory>
</VirtualHost>
Local
Or if your prefer, you can run this as a pure rack application and view it at localhost:9292:
rackup config.ru
License
This package is licensed under the MIT license and/or the Creative Commons Attribution-ShareAlike.







