Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

GititWithHack

jgm edited this page · 3 revisions
Clone this wiki locally

Courtesy of Jinjing Wang:

import Hack.Contrib.Middleware.ContentLength
import Hack.Frontend.Happstack
import Hack.Handler.Happstack
import Network.Gitit

main = do
  conf <- getDefaultConfig
  createStaticIfMissing conf
  createTemplateIfMissing conf
  createRepoIfMissing conf
  initializeGititState conf
  run . content_length $ serverPartToApp (wiki conf)
Something went wrong with that request. Please try again.