The paster setup-app command should be executed only once. The second
time you execute the paster setup-app command, it will fail because it
tries to insert the admin user in db which already exists. Drop the db
first if you want to execute setup-app again.
> I have installed the psycopg2 egg under python 2.6.5, the database
> configuration line is correct.
>
> I am able to setup and run Studio if I do not specify a PostGis db.
>
> Also, is it possible to define more than one PostGis db?
No, for the moment you can specify only one postgis datastore which
have to be defined in your .ini file by setting the
default_datastore_postgis conf key.
> Can I define
> the db from the javascript console?
No, the postgis datastore is defined on server side.
> Thanks!
>
--
Bruno Binet
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex