[better instructions for running app, don't use what gets put under ~/.cabal thomashartman1@gmail.com**20080911172511] hunk ./templates/run-tutorial-locally.st 5 -
This tutorial is cabalized. You can install and run it simply by doing: sudo cabal install happs-tutorial. You should then be able to run the resulting binary and view the tutorial offline at http://localhost:5001. -On my linux box, cabal puts the binary in /home/mydir/.cabal/bin/happs-tutorial.
+This tutorial is cabalized. You can install and run it simply by doing +
cabal install happs-tutorial hunk ./templates/run-tutorial-locally.st 20 -
For running the app, there are actually a couple of approaches. -
To run the app, either do ./hackInGhci.sh and then execute runInGhci inside Main.hs, or recompile + the executable using ./runServerWithCompileNLink.sh. + Really you only need to be inside ghci if you are experiencing + the slow link time issue. + This isn't a problem at time of writing but seems to crop up from time to time.