Re: pgAdmin4 Server does not create SQLite tables

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Subject: Re: pgAdmin4 Server does not create SQLite tables
Date: 2016-10-11 05:50:47
Message-ID: CA+OCxowyX57v2-=TZ8s25ceC-mAtYZVf4ybxn-ST1F4NrAVYdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Monday, October 10, 2016, Josh Berkus <josh(at)agliodbs(dot)com> wrote:

> On 10/10/2016 09:00 PM, Dave Page wrote:
> > What is complicating matters here is that we need quite different
> > configs for desktop vs. server mode, and it's hard to get that right.
> > Another example, besides the paths; Devrim is configuring the security
> > keys with default values in config_local.py. That's fine for desktop
> > mode, but in server mode we want to explicitly force the user to create
> > them, to ensure they are unique for the installation. On reflection,
> > maybe I can push those into the sqlite database and have setup.py
> > generate random keys in all cases.
>
> Well, the other thing I *think* Devrim was trying to do is make
> installation of pgadmin-web independent of Apache, which would allow
> someone to install it under, say, nginx or uWSGI. However, in practice
> that means the user needs to take a bunch of manual steps.
>
> One thing which would improve this is to have setup.py take an optional
> --directory argument.
>

How so? It gets the path from the config, the same way the app does. If you
separate them, it's bound to go wrong for some users.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Josh Berkus 2016-10-11 17:17:35 Re: pgAdmin4 Server does not create SQLite tables
Previous Message Josh Berkus 2016-10-11 05:03:03 Re: pgAdmin4 Server does not create SQLite tables