Skip to content

Commit

Permalink
README fixed, serve css/ and js/ as a static files
Browse files Browse the repository at this point in the history
  • Loading branch information
zh committed May 22, 2008
1 parent 06b1bcc commit 16621c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README
Expand Up @@ -23,10 +23,11 @@ Prerequirements (needed gems)

* sqlite3-ruby (database)
* validatable (models validation checks)
* assistance (sequel need it)
* sequel (models)
* feed-normalizer (feeds parsing)
* rss-client (feeds fetching)
* json (still not used)
* builder (feeds)
* ratom (feeds)
* thin (optional, deployment, can be mongrel, webrick etc.)


Expand Down Expand Up @@ -58,7 +59,7 @@ 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
$ thin start --servers 2 --socket /tmp/negi.sock -R ramaze.ru

And inside nginx.conf:

Expand Down
2 changes: 1 addition & 1 deletion config.rb
Expand Up @@ -3,7 +3,7 @@
title 'Tamanegi - The state of the Onion'
base_url 'http://localhost:7000'
author {
name 'Stoyan Zhekov'
name 'Aggregated Feed'
}
one_page 20
rss_page 20
Expand Down
1 change: 1 addition & 0 deletions ramaze.ru
Expand Up @@ -17,6 +17,7 @@ Ramaze.trait[:essentials].delete Ramaze::Adapter
#Ramaze::Log.loggers.first.log_levels = [:error, :info, :warn]
Ramaze::Log.loggers = []
Ramaze::Global.sourcereload = nil
use Rack::Static, :urls => ["/css", "/js"], :root => "public"
#use ProcTitle
Ramaze.start :force => true, :load_engines => :Builder, :cache_alternative => {:sessions => Ramaze::MemcachedCache}
run Ramaze::Adapter::Base

0 comments on commit 16621c9

Please sign in to comment.