Skip to content

Commit

Permalink
site update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Dahl committed Mar 13, 2008
1 parent 0b99f32 commit 78c3647
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 18 additions & 8 deletions README
Expand Up @@ -40,12 +40,12 @@ forthcoming.

The Ruby binding is available as a Ruby Gem. It can be install by executing

`gem install ebb`
gem install ebb

Ebb depends on having glib2 headers and libraries installed. For example, in
Macintosh if one is using Darwin ports then the following should do the trick

`port install glib2`
port install glib2

Downloads are available at
the [RubyForge project page](http://rubyforge.org/frs/?group_id=5640).
Expand All @@ -54,9 +54,19 @@ the [RubyForge project page](http://rubyforge.org/frs/?group_id=5640).

Using the executable `ebb_rails` one can start Ebb with a Rails project. Use
`ebb_rails -h` to see all of the options but to start one can try

`cd my_rails_project/; ebb_rails start`


cd my_rails_project/; ebb_rails start

When using `ebb_rails` from monit, the monitrc entry might look like this:

check process myApp4000
with pidfile /home/webuser/myApp/current/tmp/ebb.4000.pid
start program = "/usr/bin/ruby /usr/bin/ebb_rails start -d -e production -p 4000 -P /home/webuser/myApp/current/tmp/ebb.4000.pid -c /home/webuser/myApp/current" as uid webuser and gid webuser
stop program = "/usr/bin/ruby /usr/bin/ebb_rails stop -P /home/webuser/myApp/current/tmp/ebb.4000.pid" as uid webuser and gid webuser
if totalmem > 120.0 MB for 2 cycles then restart
if loadavg(5min) greater than 10 for 8 cycles then restart
group myApp

To use Ebb with a different framework you will have to do a small amount of
hacking at the moment! :)

Expand Down Expand Up @@ -93,10 +103,10 @@ buffer is set at 40 kilobytes before it writes to file.
## Contributions

Contributions (patches, criticism, advice) are very welcome! The source code
is hosted [github](http://github.com/ry/ebb/tree/master). It can be retrieved by
executing
is hosted [github](http://github.com/ry/ebb/tree/master). It can be retrieved
by executing

`git clone git@github.com:ry/ebb.git`
git clone git://github.com/ry/ebb.git

I intend to keep the C code base very small, so do email me before writing any
large additions. Here are some features that I would like to add:
Expand Down
2 changes: 2 additions & 0 deletions site/style.css
Expand Up @@ -19,6 +19,8 @@ h1, h2, h3, h4 {
margin: 1em 0;
}

pre { overflow: auto; }

a { color: #E4AC3D; }
#license {
font-size: 8pt;
Expand Down

0 comments on commit 78c3647

Please sign in to comment.