We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
commit  87db9e1464a75cb23f702086b45f174711f4012a
tree    073b2af398bb8cc63aef290b3c9fefc6f7f2b1c2
parent  aec2f854f78863c129808bd0f0884c801b485034
passenger / DEVELOPERS.TXT
100644 83 lines (58 sloc) 1.906 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
= Developers information
 
== Required software
 
The tests need the following software installed:
 
* All the usual Passenger dependencies.
* Ruby on Rails >= 2.0.1
* rspec >= 1.1.2
* mime-types >= 1.15
 
The following software is optional:
 
* RDoc, for generating HTML Ruby API documentation
* Doxygen, for generating HTML C++ API documentation
* dot (part of Graphviz), for generating diagrams in HTML API documentation
* The font "Bitstream Vera Sans", used in the class diagrams. See http://www.gnome.org/fonts
* AsciiDoc >= 8.2.5, for converting various doc/*.txt documents to HTML
 
== Compiling Passenger
 
Run the following command to compile everything:
 
 rake
 
== Directory structure
 
The most important directories are:
[ lib/passenger ]
  The source code for the spawn server, which is written in Ruby.
[ ext/passenger ]
  Native extensions for Ruby, used by the spawn server.
[ ext/apache2 ]
  The Passenger Apache 2 module (mod_passenger).
[ bin ]
  Executables.
[ doc ]
  Various documentation.
[ test ]
  Unit tests and integration tests.
[ test/support ]
  Support/utility code, used in the tests.
[ test/stub ]
  Stub code, used in the tests.
 
Less important directories:
[ lib/rake ]
  Rake tasks.
[ ext/boost ]
  A vendor copy of the Boost C++ library (www.boost.org).
[ benchmark ]
  Benchmark tools.
[ misc ]
  Miscellaneous tools.
 
== Tests
 
Run all tests:
 
 rake
 
Run just the tests for the Apache 2 module:
 
 rake test:apache2
 
Run just the unit tests for the Ruby spawn server:
 
 rake test:ruby
 
Run just the integration tests:
 
 rake test:integration
 
*Note*: some tests, such as the ones that test privilege lowering, require
root privileges. Those will only be run if Rake is run as root.
 
== Documentation
 
Various developer documents can be found in 'doc/*.html'.
 
The Ruby part's API reference is located in 'doc/rdoc/'.
The C++ part's API reference is located in 'doc/cxxapi/'.