Peter,
You need to install uwsgi or antoher wsgi service and setup the socket for apache/django to speak to each other through.
In mine, I use uwsgi service, configured and pointed it to the wsgi-file in the postorius django project. Then pointed nginx (I don't use apache, but same difference) to the uwsgi socket I created. It was actually one of the trickiest parts of the setup (it can be strict about how it expects the Django modules to be "advertised" back to the web server). And then did the same thing for hyperkitty (it and postorius are on separate wsgi sockets).
Sincerely,
Andrew Hodder Systems Administrator Support Operations, Afilias E-mail: drew@afilias.info Phone: +1 416.673.4164 Fax: +1 416.646.1541
On Thu, Jan 25, 2018 at 8:27 AM, Peter Münster <pmlists@free.fr> wrote:
Hi,
I try to install Postorius, but I don't find the file postorius.wsgi. Where should I get it please?
This is, what I've done so far:
- git clone https://gitlab.com/mailman/postorius.git
- cd postorius
- python3 setup.py install
- cd example_project
- virtualenv venv
- . venv/bin/activate
- pip3 install -r requirements.txt
- in venv/lib/python3.6/site-packages/django_mailman3/lib/mailman.py: replace "urllib2" by "urllib.error"
- python3 manage.py migrate
- python3 manage.py createsuperuser
- python3 manage.py compilemessages
- python3 manage.py collectstatic
Now I try to follow https://postorius.readthedocs.io/en/latest/deployment.html# apache-with-mod-wsgi but I don't find postorius.wsgi ...
TIA for any help. Kind regards,
Peter
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/