Synopsis of build instructions:
-
Use
find-bindistto download a GHC bindist:$ ./find-bindist apple ... url displayed ... $ wget ...url... -
If necessary, build
cabalversion >= 1.24:$ cabal get cabal-install-1.24.0.0 $ cd cabal-install-1.24.0.0 $ cabal sandbox init $ cabal install --only-dependencies $ cabal install $ cp ./dist/dist-sandbox-.../build/cabal/cabal /usr/local/bin/cabal -
Use
platform-initto initialize theconfig.platformfile:$ ./platform-initMake sure the version of cabal is >= 1.24. Edit entries as needed.
-
Run
./new-platform.sh$ ./new-platform.sh build-all $ ./new-platform.sh build-websiteThe website files reside in
build/product/website. -
In a new terminal, start up the python server:
$ ./server ./build/product/website 12345You can leave this running - it will track changes as you re-build the website.