I deploy my django app using uwsgi and venv in my home dir
uWSGi starts on its default port and httpd server uses this port
to handle my app requests. Everything just like in the official manual of uwsgi.

26.08.2018 23:41, Chris Narkiewicz пишет:
On 26/08/2018 21:01, Paul de Weerd wrote:
Use python3 -m venv /path/to/venv to create a virtualenv using python3
and be done with it.

Yeah, it did the trick. I'm going to deplrecate use of virtualenv,
since it's no longer needed with Python 3.6.

   That will use a symlink to the actual python3
binary in /usr/local, so no issues with the lack of wxallowed on /var.
However, you'll have to deal with the chroot implications there...

I guess it's a non-starter with Django... I guess it'd be easier to
simply run it in Docker.

What webserver are you using?

It's pretty standard stack:

* postgresql on localhost
* uwsgi on localhost with http/fastcgi protocol
* httpd on egress

Best regards,
Chris


--
С уважением,
Родин Максим

Reply via email to