Stwart wrote:
>
> I'd like to know how to execute dbDoc.
>
> My environment is composed by: Windows XP Professional, Postgres 8.3,
> Python 2.5.2, PyGreSQL-3.8.1 and dbDoc.
>
> What's the correct command line to be used, i need to know the correct
> sintax and the parameters for pgdbdoc.py
>
>
> Regards,
>
From the README file distributed with the package;
"""
Oracle example (assuming cx_Oracle installed):
% cd lib
% ./oradbdoc.py 'user/password@db' /tmp
This generates HTML documentation in /tmp detailing the schema of the
Oracle instance 'db' running on the local machine.
PostgreSQL example (assuming pygresql installed):
% cd lib
% ./pgdbdoc.py ':mydb:myuser:' /tmp
This generates HTML documentation in /tmp detailing the schema of the
postgresql instance 'mydb' running on the local machine.
Please see http://dbdoc.sourceforge.net/ for more information.
"""
I have just got a CVS checkout of the code so I'm not sure where a
Python install would put the 'lib' directory, probably somewhere under
site-packages.
Regards,
Andy
--
From the desk of Andrew J Todd esq - http://www.halfcooked.com/
|