Re: Setting up pgAdmin4 as a web application - Mailing list pgadmin-hackers

From Murtuza Zabuawala
Subject Re: Setting up pgAdmin4 as a web application
Date
Msg-id CAKKotZSPoOHTRxaO2i855DKZyCj8rSsUhu2cvBz5ooYZq1nGEQ@mail.gmail.com
Whole thread Raw
In response to Re: Setting up pgAdmin4 as a web application  (Dave Page <dpage@pgadmin.org>)
Responses Re: Setting up pgAdmin4 as a web application
List pgadmin-hackers
You can refer my config for activating virtual environment.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Wed, Oct 19, 2016 at 8:19 PM, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Oct 19, 2016 at 3:43 PM, dealy663 <dealy663@gmail.com> 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 set things
> up on the server.

I haven't tried it in a venv on a server (though my dev environment is
setup that way). It should work, but you may need to adjust the wsgi
file or Apache config to point to the virtual env.

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

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


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Setting up pgAdmin4 as a web application
Next
From: Dave Page
Date:
Subject: Re: Setting up pgAdmin4 as a web application