For a project named XXX with a postgreSQL database:
- $ sudo apt-get install libedit-dev libbsd-dev libgmp3-dev zlib1g-dev freeglut3-dev postgresql pgadmin3 libghc-persistent-postgresql-dev cabal-install
- Install all packages for 'yesod'.
- $ cabal update
- $ cd XXX && cabal install && yesod devel
Interesting... Well we're not at the deployment stage (and if FPComplete opens their IDE soon it could be done with a few clicks), but I'll look at it this week.