| From: | Dan Davis <dansmood(at)gmail(dot)com> |
|---|---|
| To: | pgadmin-support(at)postgresql(dot)org |
| Subject: | Question on deploy from wheel |
| Date: | 2016-12-02 20:54:22 |
| Message-ID: | CAFzonYYcje0v_XS+xYyVT4wqUCKbukyYYE9Tsei=3z_PE692EA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
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 | Andreas | 2016-12-03 00:35:04 | Bug in pgAdmin 3 1.23.0a LTS |
| Previous Message | Dave Page | 2016-12-02 14:17:45 | Re: PgAdmin4 STILL not usable when installed from RPMs on Fedora linux |