Installation of WashNGo > ./configure > make all > su # make install # exit and you are done! To compile the example code use > make examples To install the examples, move the executables to your web server's CGI directory. There are some suitable targets in Examples/Makefile, but they need to be customized to your setup. > make clean to clean up after installation. The Makefile recognizes two flag variables CONFIGUREFLAGS= and INSTALLFLAGS= which are passed to the respective invocations of the cabal setup program. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This procedure installs the following executables: * wash2hs, the WASH preprocessor * washc, the WASH compiler (a shell script which calls GHC with the correct options) and the Haskell package WashNGo which provides hierarchical modules at the following locations: * WASH.Utility various stuff * WASH.HTML XHTML generation * WASH.Mail interfaces for sending and parsing mail * WASH.CGI the scripting library * WASH.Dbconnect simple database connection library (if configured) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Alternatively, you may interact directly with Cabal to build and install the system (except the washc script). > ./Setup.lhs configure > ./Setup.lhs build > su # ./Setup.lhs install # exit %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A draft user manual is available from the WASH web site http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH To create the haddock documentation use > make haddock %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% NOTE The Dbconnect code is currently disabled because it's not clear how to integrate it well with the cabalized stuff.