From 113c6f67466a38c884c0fb42018e54ec925d6165 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 24 Oct 2011 18:13:04 +0000 Subject: [PATCH] gf-quickstart.html: describe gf -server instead of pgf-http --- doc/gf-quickstart.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/gf-quickstart.html b/doc/gf-quickstart.html index acbfc8947..58f47e30f 100644 --- a/doc/gf-quickstart.html +++ b/doc/gf-quickstart.html @@ -1,4 +1,4 @@ - + GF Quickstart @@ -13,7 +13,7 @@

Aarne Ranta

-December 2010 for GF 3.2 +October 2011 for GF 3.2.10

@@ -126,14 +126,15 @@ You can use this in Haskell and Java programs, and also on web services, such as fridge magnets -The quickest way to provide a GF web service is to start the program pgh-http +The quickest way to provide a GF web service is to start GF with the -server option:

-  $ pgf-http
-  Starting HTTP server, open http://localhost:41296/ in your web browser
-
-  Options {documentRoot = "/home/aarne/.cabal/share/gf-server-1.0/www", port = 41296}
+  $ gf -server
+  This is GF version 3.2.10.
+  Built on linux/i386 with ghc-7.0, flags: interrupt server cclazy
+  Document root = /usr/local/share/gf-3.2.10/www
+  Starting HTTP server, open http://localhost:41296/ in your web browser.
 
-which resides next to your gf program. You can view it locally by pointing your +You can view it locally by pointing your browser to the URL shown. You can add your own .pgf grammar to the service by copying it over to the documentRoot directory. Just push "reload" in your browser after each such update.