ry / ebb fork watch download tarball
public
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/ry/ebb.git
Search Repo:
site update
Ryan Dahl (author)
Wed Mar 12 19:19:25 -0700 2008
commit  78c364764b4e2f57df044c73253c14c74058825c
tree    c7ffa87ab419ae07f95260fc7f874608b7e1f005
parent  0b99f32b9ab81caeded14787715248be370b3b22
0
...
40
41
42
43
 
44
45
46
47
48
 
49
50
51
...
54
55
56
57
58
59
 
 
 
 
 
 
 
 
 
 
 
 
 
60
61
62
63
...
93
94
95
96
97
 
 
98
99
 
100
101
102
...
40
41
42
 
43
44
45
46
47
 
48
49
50
51
...
54
55
56
 
 
 
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
...
103
104
105
 
 
106
107
108
 
109
110
111
112
0
@@ -40,12 +40,12 @@
0
 
0
 The Ruby binding is available as a Ruby Gem. It can be install by executing
0
 
0
- `gem install ebb`
0
+ gem install ebb
0
 
0
 Ebb depends on having glib2 headers and libraries installed. For example, in
0
 Macintosh if one is using Darwin ports then the following should do the trick
0
   
0
- `port install glib2`
0
+ port install glib2
0
   
0
 Downloads are available at
0
 the [RubyForge project page](http://rubyforge.org/frs/?group_id=5640).
0
@@ -54,9 +54,19 @@
0
 
0
 Using the executable `ebb_rails` one can start Ebb with a Rails project. Use
0
 `ebb_rails -h` to see all of the options but to start one can try
0
-
0
- `cd my_rails_project/; ebb_rails start`
0
-
0
+
0
+ cd my_rails_project/; ebb_rails start
0
+
0
+When using `ebb_rails` from monit, the monitrc entry might look like this:
0
+
0
+ check process myApp4000
0
+ with pidfile /home/webuser/myApp/current/tmp/ebb.4000.pid
0
+ 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
0
+ 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
0
+ if totalmem > 120.0 MB for 2 cycles then restart
0
+ if loadavg(5min) greater than 10 for 8 cycles then restart
0
+ group myApp
0
+
0
 To use Ebb with a different framework you will have to do a small amount of
0
 hacking at the moment! :)
0
 
0
0
@@ -93,10 +103,10 @@
0
 ## Contributions
0
 
0
 Contributions (patches, criticism, advice) are very welcome! The source code
0
-is hosted [github](http://github.com/ry/ebb/tree/master). It can be retrieved by
0
-executing
0
+is hosted [github](http://github.com/ry/ebb/tree/master). It can be retrieved
0
+by executing
0
 
0
-`git clone git@github.com:ry/ebb.git`
0
+ git clone git://github.com/ry/ebb.git
0
 
0
 I intend to keep the C code base very small, so do email me before writing any
0
 large additions. Here are some features that I would like to add:
...
19
20
21
 
 
22
23
24
...
19
20
21
22
23
24
25
26
0
@@ -19,6 +19,8 @@
0
   margin: 1em 0;
0
 }
0
 
0
+pre { overflow: auto; }
0
+
0
 a { color: #E4AC3D; }
0
 #license {
0
   font-size: 8pt;

Comments

    No one has commented yet.