From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Dan Davis <dansmood(at)gmail(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Question on deploy from wheel |
Date: | 2016-12-05 02:09:38 |
Message-ID: | 2F76B92E-1A09-4491-8B2A-731E1FD87C65@pgadmin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi
That doesn't sound unreasonable on the face of it. Please log a feature request: https://redmine.postgresql.org/projects/pgadmin4/issues/new
Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
> On 3 Dec 2016, at 05:54, Dan Davis <dansmood(at)gmail(dot)com> wrote:
>
>
> It seems to me that the module pgadmin4/pgAdmin4.wsgi should be renamed to pgadmin4/wsgi.py, for reasons that will become clear below.
> How do I report that as a bug and request that it be changed?
>
> The reason I want the change is so that pgadmin4 also works as a wheel under gunicorn, and probably Phusion Passenger as well.
>
>
> I've successfully deployed pgadmin4 as a wheel in server mode as follows:
>
> * Install the wheel in a virtual environment, it pulls in the additional requirements.
> * Install gunicorn in the virtual environment.
> * Within the virtual environment site-packages folder, edit config_local.py
> * Run setup.py, in my case, like this:
>
> python venv/lib/python3.4/site-packages/pgadmin4/setup.py
>
> * copy pgAdmin4.wsgi to wsgi.py
>
> * run gunicorn as follows:
>
> gunicorn -w 4 pgadmin.wsgi
>
> I am also interested in any other solutions you guys may suggest.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-12-05 02:12:13 | Re: Bug in pgAdmin 3 1.23.0a LTS |
Previous Message | Andreas | 2016-12-03 19:41:43 | Re: Bug in pgAdmin 3 1.23.0a LTS |