INSTALL
changeset 68 c1f1491f098c
parent 67 652ff41518f3
equal deleted inserted replaced
67:652ff41518f3 68:c1f1491f098c
    29 (after untar/unzip the distribution file to a temporary location...)
    29 (after untar/unzip the distribution file to a temporary location...)
    30 
    30 
    31 1. Move the python code into a repertory where the web server will serve
    31 1. Move the python code into a repertory where the web server will serve
    32    the CGI.
    32    the CGI.
    33 
    33 
    34 2. Tell the web server to serve only CGI .py from the root directory
    34 2. Tell the web server to serve only CGI .py from the root directory of
    35    of the application.  The lib and templates directory content should not
    35    the application.  The lib and templates directory content should not be
    36    be used.  Add any authorization you need.
    36    used.  tests neither and can even be removed.  Add any authorization you
       
    37    need.
    37 
    38 
    38 3. Create a database for xbelweb (e.g., "xbelweb"), then create the
    39 3. Create a database for xbelweb (e.g., "xbelweb"), then create the
    39    tables in the database used by xbelweb using the
    40    tables in the database used by xbelweb using the
    40    ./lib/db/create_db.[your database] definition.  I do it with
    41    ./lib/db/create_db.[your database] definition.  I do it with
    41    psql -U php < create_db.postgresql
    42    psql -U php < create_db.postgresql