Installing gitit

For debian/Ubuntu users check Gitit on Ubuntu

  1. Install the Haskell Platform for your operating system. (You can skip this if you already have GHC >= version 6.10 and cabal-install on your system.)

  2. Install git if you don’t already have it.

  3. Install gitit:

    cabal update
    cabal install gitit
  4. Run gitit:

    mkdir mywiki
    cd mywiki
    gitit
  5. Enjoy the fruits of your labor: browse to http://localhost:5001/.

Notes:

  1. Gitit has not been tested on Windows and may only run on unix-based systems. Some users have reported success with Windows 7 64 bit combined with the msys unix environment. Without msys (a path to its binaries is necessary), the gitit install will fail due to no available grep command. If you see this, try installing msys and adding a path to the grep binary.

  2. If you want to enable syntax highlighting of delimited code blocks, you should first install pandoc with the highlighting flag:

    cabal install --reinstall -fhighlighting pandoc
    cabal install --reinstall gitit
  3. If you don’t plan to use plugins and want gitit to have a smaller memory footprint, disable the plugins flag:

    cabal install --reinstall -f-plugins gitit