# HG changeset patch # User fabien@tzone.org # Date 1230699609 18000 # Node ID c1f1491f098cf7f9dd50cd7520a151fa88bf1000 # Parent 652ff41518f36f4d36dfbc304c3ce425ea4c5a64 Some small correction and update. diff -r 652ff41518f3 -r c1f1491f098c INSTALL --- 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 diff -r 652ff41518f3 -r c1f1491f098c index.py.ex --- 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