Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread Dave Page
On Wed, Oct 19, 2016 at 4:01 PM, Murtuza Zabuawala wrote: > You can refer my config for activating virtual environment. > http://i.stack.imgur.com/8HbKw.png That's your replacement wsgi file? I wonder if we should source a user-editable file from our standard WSGI file to allow the user to easil

Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread Murtuza Zabuawala
You can refer my config for activating virtual environment. http://i.stack.imgur.com/8HbKw.png -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Wed, Oct 19, 2016 at 8:19 PM, Dave Page wrote: > On Wed, Oct 19, 2016 at 3:43 PM, dealy663

Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread Dave Page
On Wed, Oct 19, 2016 at 3:43 PM, dealy663 wrote: > Ok, I'll give that a try. > > I have my python setup to use a virtual environment. Could that be causing > the problems I'm having? I was able to get the venv setup with pgAdmin4 > working on my workstation and thought that was the right way to se

Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread dealy663
Ok, I'll give that a try. I have my python setup to use a virtual environment. Could that be causing the problems I'm having? I was able to get the venv setup with pgAdmin4 working on my workstation and thought that was the right way to set things up on the server. -- View this message in conte

Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread Dave Page
[Please keep the mailing list CC'd] On Wed, Oct 19, 2016 at 3:32 PM, Derek Ealy wrote: > I had already tried something similar and it didn't work. > > I moved my stuff out of /var/www/.pgadmin to the directory locations you > suggested and set ownership to the www-data user and group. After resta

Re: [pgadmin-hackers] Setting up pgAdmin4 as a web application

2016-10-19 Thread Dave Page
Hi On Tue, Oct 18, 2016 at 6:42 PM, Derek Ealy wrote: > I've been trying to get pgAdmin4 to work as a web app for a couple of days. > I've finally figured out python, pip, wsgi, apache (I think). I can see from > the logs that is failing when trying to select from the version table which > I assu