public
Description: A cross-platform web server that's scripted with Nu.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nunja.git
timburks (author)
Thu May 08 20:48:27 -0700 2008
commit  ce659aa8fae6d50c53f4490f616a8c9603dd530e
tree    a2b039e35446c25032f87953bb3bbad08974c35b
parent  d20db0609e3e5a3ebf02be8290966718cfc8c9aa
nunja /
name age message
file LICENSE Mon Mar 10 16:34:46 -0700 2008 Added licensing information and README file. [timburks]
file NOTICE Mon Mar 10 16:34:46 -0700 2008 Added licensing information and README file. [timburks]
file Nukefile Sat Mar 15 12:54:04 -0700 2008 "nuke install" now installs nunjad in... [timburks]
file README Mon Mar 10 16:47:27 -0700 2008 Fixed typo in README. [timburks]
directory art/ Sun Apr 06 16:14:32 -0700 2008 Added nunja artwork created by Victoria Wang. [timburks]
directory nu/ Thu May 08 20:48:27 -0700 2008 Set caching for static files. [timburks]
file nunjad Thu May 08 17:24:10 -0700 2008 Some small cleanup to dns and http request hand... [timburks]
directory objc/ Thu May 08 17:24:10 -0700 2008 Some small cleanup to dns and http request hand... [timburks]
directory sample/ Thu May 08 17:24:10 -0700 2008 Some small cleanup to dns and http request hand... [timburks]
README
Nunja is a small portable web server for use with Nu.

It is based on the libevent event notification library
(http://monkey.org/~provos/libevent/), and has been tested
on OS X 10.5 and Linux (Ubuntu-7.10) systems. 
  
REQUIREMENTS

Nunja requires Nu and nuke, the Nu build tool. To obtain
Nu, please visit http://programming.nu or get the source
from the Nu git repository on github:
  http://github.com/timburks/nu
  
Nunja requires libevent. Before building Nunja, please 
be sure that libevent is installed on your system. The
default build configuration expects libevent to be installed
in /usr/local.

On Linux systems, Nunja requires an implementation of the
Foundation classes. It has been tested with NuFound, a
modified version of the libFoundation library that has been
updated to work with Nu and which can be built using the
GNU autotools. The primary NuFound repository is on github: 
  http://github.com/timburks/nufound
  
The primary Nunja repository is also on github:
  http://github.com/timburks/nunja
  
INSTALLATION

After installing all prerequisites, build the Nunja framework
by typing "nuke" in the top-level Nunja directory.

AN EXAMPLE

Nunja can be run from the command line using the "nunjad" 
(nunja daemon) script.  nunjad accepts arguments that can
be used to specify a port and a site description. A sample
site description is in the sample directory. To run it in
Nunja, use the following command:
  nunjad --site sample
  
Currently the sample site is very simple, but illustrates
the processing of GET and POST requests and the basics of
response generation, including the use of cookies.

INFLUENCES

Nunja is modeled on Blake Mizerany's Sinatra, 
  http://sinatra.rubyforge.org/
but has the clarity and transparency of implementation
that can only be achieved with Objective-C and Nu.

AUTHOR

Nunja was written by Tim Burks and awaits a host of updates
and improvements from its users.

Nunja is released under the Apache License, version 2.0.

Copyright 2008, Neon Design Technology, Inc.