Skip to content

brucepom/ControlTower

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Rack-based Web Application Server for MacRuby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 44.1%
  • Ruby 43.6%
  • Objective-C 11.3%
  • Roff 1.0%