From e9f915ba9c7a47e51083f0d3eb3a25ebbbc86324 Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 18 Sep 2008 20:12:01 +0000 Subject: [PATCH] Fixed gf-morpho-server.cabal name typo. Added basic README for morpho server. --- src/morpho-server/README | 21 +++++++++++++++++++ ...po-server.cabal => gf-morpho-server.cabal} | 0 2 files changed, 21 insertions(+) create mode 100644 src/morpho-server/README rename src/morpho-server/{gf-morpo-server.cabal => gf-morpho-server.cabal} (100%) diff --git a/src/morpho-server/README b/src/morpho-server/README new file mode 100644 index 000000000..ad402749f --- /dev/null +++ b/src/morpho-server/README @@ -0,0 +1,21 @@ +Note, some paths are still hardcoded in MorphoServer.hs, you have to +change them before compiling. + +See ../server/README for requirements and installation instructions +(replace gf.fcgi with gf-morpho.fcgi). + +To build (doesn't yet use Cabal, since it needs some modules not yet in +the gf Cabal package): + +$ make + +When installed, try for example (change URL as appropriate): + +http://localhost/~bringert/morpho-server/gf-morpho.fcgi/eval?term=mkN+%22talo%22 + +This will output a JSON representation of the resulting inflection table. +The JSON representation should be changed, I've noticed that it's much nicer +to have fixed object field names in JSON when using GWT. Perhaps the format +should be: + +[[key, value]] diff --git a/src/morpho-server/gf-morpo-server.cabal b/src/morpho-server/gf-morpho-server.cabal similarity index 100% rename from src/morpho-server/gf-morpo-server.cabal rename to src/morpho-server/gf-morpho-server.cabal