From 8cf0d654baf7c48a14b4973df0fc5afb021d03d2 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 22 Aug 2008 13:16:31 +0000 Subject: [PATCH] Added README with build instructions for the fastcgi server. --- src/server/README | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/server/README diff --git a/src/server/README b/src/server/README new file mode 100644 index 000000000..b0f338fb1 --- /dev/null +++ b/src/server/README @@ -0,0 +1,33 @@ +== Requirements == + +- cabal + * See quick installation instructions at the bottom of + http://hackage.haskell.org/trac/hackage/wiki/CabalInstall + +- FastCGI development kit + * MacPorts: sudo port install fcgi + +- Haskell packages: fastcgi, json, utf8-string + * cabal install fastcgi json utf8-string + +- GF installed as a Cabal package + * (cd ../.. && cabal install) + * Maye need to remove "-beta" from the Version field in ../../GF.cabal + +== Building == + +- Build gf.fcgi + +$ make + +- Build small example grammar: + +$ make food + +== Running == + +- Make sure that your web server supports FastCGI. + +- Copy or symlink this directory to your web directory. + +- Go to SERVER_URL/gf-client.html in your web browser.