To install:

"cabal install darcsden" will install darcsden and darcsden-ssh
executables with generic settings. In particular, the web app's base url
will be "http://localhost:8900", and multi-user features will be enabled.

For more control, get the darcsden source, adjust
src/DarcsDen/Settings.hs, and run "cabal install" in the top source
directory. There are also several optional build flags in darcsden.cabal,
mainly to assist with building on windows.

To run darcsden you also need:

Redis (for storing web session data)

CouchDB (for storing user/repo/repository data)

Both should be running on their default port, or you can change that in
Settings.hs. You should configure them by running:

darcsden --install

You should have a "darcsden" user account (for running the app and owning
the files), with a ssh key:

To start:

This package provides separate executables for the web and SSH servers,
darcsden and darcsden-ssh respectively. You could run them manually
while logged in as the darcsden user via screen or dtach. Or, configure them
as daemons. See darcsden.god, or these sample supervisord.conf entries:

Windows:

darcsden indirectly depends on two external libraries: OpenSSL and pcre.

The -f-ssh flag can be used to disable the ssh server and remove the
dependency on OpenSSL.

The -f-closing flag disables the ability for checkins to automatically
close issues, removing the dependency on pcre.

OpenSSL can be installed from http://slproweb.com/products/Win32OpenSSL.html -
download "Win32 OpenSSL v1.0.1e" or whatever similar version is current.
[At the time of writing, darcs doesn't work with 64 bit Windows, but
if this changes then a 64 bit version can be downloaded from the same location.]

The CouchDB service name is something like
"Apache CouchDB01cd861ad1dbd850", look for "CouchDB" in the output
of "sc query" to get the exact name.

To install darcsden as a Windows service given the above names for
the redis and CouchDB services, identify the path to darcsden.exe
and to the darcsden source tree. Then alter the following command
appropriately and run it all on one line:

Contributing:

darcsden is a small, clean codebase that is fun to hack on. Discussion
takes place on the #darcs IRC channel, and useful changes will quickly
be deployed at hub.darcs.net, providing a tight dogfooding/feedback
loop. Here's how to contribute a patch there:

Credits:

Alex Suraci created darcsden. Simon Michael led this release, which
includes contributions from Alp Mestanogullari, Jeffrey Chu, Ganesh
Sittampalam, and BSRK Aditya (sponsored by Google's Summer of Code).
And last time I forgot to mention two 1.0 contributors: Bertram
Felgenhauer and Alex Suraci.

darcsden depends on Darcs, Snap, GHC, and other fine projects from the
Haskell ecosystem, as well as Twitter Bootstrap, JQuery, and many more.