Readme for hack2-handler-mongrel2-http-2011.6.25

Serving Hack2 application with the great Mongrel2 server

How to run


cabal update
cabal install nemesis
cabal install hack2-handler-mongrel2-http
cabal install hack2-contrib

git clone https://github.com/nfjinjing/hack2-handler-mongrel2-http.git

cd hack2-handler-mongrel2-http

# load a mongrel config, for more information, see the Nemesis task file
nemesis load

# start a mongrel server, port is 6767
nemesis start

# start a hello world hack2 app using mongrel2 handler
nemesis run

now visit: http://localhost:6767, you should see a hello world page.

Useful getting started resource