|
From: | Sebastián Marró |
Subject: | Re: [Health-dev] Problem running health_demo_server.py |
Date: | Thu, 30 May 2013 12:33:16 -0300 |
Hi Kaushik2013/5/30 Blue Light <address@hidden>
Hi,
I am facing problems installing the demo database locally. I am following the wiki - http://en.wikibooks.org/wiki/GNU_Health/The_Demo_database
a) The wiki says I should do the following.
$ python health_demo_server.py
But it does not say where this file is and how to get it.
b) I checked out the source by - hg clone http://hg.savannah.gnu.org/hgweb/health/
I found it under health/tryton/demo. I added the path to tryton server in python path and then executed the script - python health_demo_server.py .
I got the error -
"Usage: health_demo_server.py [options] <database name>
health_demo_server.py: error: Not enough args!"
Could you please tell me how to run this script correctly and install the demo database locally.
You should run the script with:
$ python health_demo_server.py gnuhealth_demo
where gnuhealth_demo is the name of the database (you can change it)
Let me know if you have any issue running the demo script.I will update now the wiki with the new script options.
[Prev in Thread] | Current Thread | [Next in Thread] |