Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.18 KB

README.rdoc

File metadata and controls

39 lines (23 loc) · 1.18 KB

ControlTower

ControlTower is a web application server for Rack-based MacRuby applications based on Apple’s Grand Central Dispatch libraries.

It is composed of three major components: A Grand Central Dispatch based networking layer, the Mongrel HTTP parser, and a Rack web application interface.

Installation

ControlTower can be installed as a gem using the ‘macgem` command. To build and install from source, go to the root directory of the project and run:

$ rake package
$ sudo macgem install pkg/control_tower-1.0-universal-darwin-10.gem

Usage

There are currently only 4 supported command line options:

  • -R <config.ru> : Where you specify the Rack-up config to run

  • -a <host> : Address to bind server to (default: 0.0.0.0)

  • -p <port> : Port on which to run the server (default: 3000)

  • -c : Enable serving requests on a concurrent GCD queue

Sample

There are a collection of Rack-up configs located in the “sample” directory that demonstrate some features of ControlTower and MacRuby. See the README in that directory for more information.

License

All the files in this distribution are covered under the Ruby’s license (see the file COPYING).