@hackage hack2-handler-mongrel2-http2011.6.25
Hack2 Mongrel2 HTTP handler
Categories
License
BSD-3-Clause
Maintainer
Jinjing Wang <nfjinjing@gmail.com>
Links
- Homepage
- Documentation
- No source repository
- Changelog
- Security
Versions
- 2011.10.31 Mon, 31 Oct 2011
- 2011.6.25 Sat, 25 Jun 2011
- 2011.6.24 Fri, 24 Jun 2011
- 2011.6.22 Wed, 22 Jun 2011
Installation
Dependencies (19)
- aeson
- air
- attoparsec
- base >=4.0 && <5
- blaze-builder <0.4
- blaze-textual Show all…
Dependents (1)
@hackage/acme-everything
Serving Hack2 application with the great Mongrel2 server
- enumerator enabled, constant memory consumption when enumerator all the way down
How to run
- install mongrel2
- install GHC
- install cabal-install
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
- Read the manual on http://mongrel2.org
- config/test.conf sample config, and test/hello.hs hello world application.
- The Hack2 spec