Some small correction and update.
authorfabien@tzone.org
Wed, 31 Dec 2008 00:00:09 -0500
changeset 68 c1f1491f098c
parent 67 652ff41518f3
child 69 d79722064d8d
Some small correction and update.
INSTALL
index.py.ex
--- a/INSTALL	Tue Dec 30 23:32:33 2008 -0500
+++ b/INSTALL	Wed Dec 31 00:00:09 2008 -0500
@@ -31,9 +31,10 @@
 1. Move the python code into a repertory where the web server will serve
    the CGI.
 
-2. Tell the web server to serve only CGI .py from the root directory
-   of the application.  The lib and templates directory content should not
-   be used.  Add any authorization you need.
+2. Tell the web server to serve only CGI .py from the root directory of
+   the application.  The lib and templates directory content should not be
+   used.  tests neither and can even be removed.  Add any authorization you
+   need.
 
 3. Create a database for xbelweb (e.g., "xbelweb"), then create the
    tables in the database used by xbelweb using the
--- a/index.py.ex	Tue Dec 30 23:32:33 2008 -0500
+++ b/index.py.ex	Wed Dec 31 00:00:09 2008 -0500
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 
 if (__name__ == '__main__'):
-	sys.path.insert(0, "/home/fabien/lib/python")
+	import sys
 	sys.path.insert(0, "./lib")
 
 from config import CONFIG