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 (
commit edd3daa2dfcc7b3424445259c404e0e11a6b6742
tree a8f3efc5404f63ef3831c08346e55899f3b2ec31
parent 16c41727345835aa3ed402f15298edd0e6e44db0
tree a8f3efc5404f63ef3831c08346e55899f3b2ec31
parent 16c41727345835aa3ed402f15298edd0e6e44db0
tamanegi /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Apr 04 02:43:52 -0700 2008 | |
| |
CHANGELOG | Mon May 12 18:37:43 -0700 2008 | |
| |
README | ||
| |
RELEASE_NOTES | ||
| |
config.rb | ||
| |
controller/ | ||
| |
db/ | Wed Apr 02 02:03:39 -0700 2008 | |
| |
lib/ | Wed Apr 02 02:03:39 -0700 2008 | |
| |
log/ | Wed Apr 02 02:03:39 -0700 2008 | |
| |
model/ | ||
| |
public/ | ||
| |
ramaze.ru | ||
| |
start.rb | Mon Apr 21 01:11:12 -0700 2008 | |
| |
tamanegi.rb | ||
| |
view/ |
README
Tamanegi -- RSS/Atom feeds aggregator powered by Ramaze ======================================================== The project previous name was RaPlanet. But there is another project with the same name, so I changed the name to Tamanegi (onion in japanese). Maybe somebody will remember the Matz' presentation on Rubykaigi 2006 "The state of the onion" :) Tamanegi also trying to observe the state of the net and aggregate atom/rss feeds in one news stream. Live demo of the application can be seen on URL: http://planet.zhekov.net/ Application details -------------------- * ORM (model): Sequel (_core and _model) * Controllers: Ramaze (hm, maybe plain Rack will be also enough?) * Views: Ezamar (TODO: switch to Tenjin) Prerequirements (needed gems) ----------------------------- * sqlite3-ruby (database) * validatable (models validation checks) * sequel (models) * feed-normalizer (feeds parsing) * json (still not used) * ratom (feeds) * thin (optional, deployment, can be mongrel, webrick etc.) * SystemTimeout (feeds fetching giveup timeout) Usage ------ [!] Change the settings in the config.rb file - base_url, items per page etc. * Command line usage You can use Tamanegi just to fill your database with items and display them with something else (Ruby on Rails etc.). So from irb or a script require 'tamanegi' Tamanegi::sync!(false,true) * "Development" mode $ cd tamanegi $ ./start.rb This will create the needed tables in the DB (sqlite3: db/tamanegi.db) "on the fly". By default the thin server is started, but you can change it inside start.rb. * "Production" mode On my site I have nginx talking to two thin instances via sockets: $ cd tamanegi $ mkdir -p log $ thin start --servers 2 --socket /tmp/negi.sock -R ramaze.ru And inside nginx.conf: upstream play { server unix:/tmp/negi.0.sock; server unix:/tmp/negi.1.sock; }









