Re: EXT: Looking for documention on deploying roundup with mod_wsgi
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Garth:
In message
<BN6P101MB0242842867EAF7E2AC0DDDFBE89B0@BN6P101MB0242.NAMP101.PROD.O
UTLOOK.COM>,
>I'm attaching Markdown notes I made while successfully deploying my
>first Roundup tracker via mod_wsgi last week.
I have converted them to reST (let's hear it for pandoc) and shifted
them so they will drop into the existing installation doc.
I am doing some light editing right now.
>I did it on an Azure VM running Ubuntu. My notes may be overly
>specific and long -- maybe someone can simplify them for the docs and
>put the full version in the wiki.
We are in the middle moving the wiki, I am not sure if either the new
or old instance is open for new page creation.
I assume the web interface tested out ok. Have you tried the rest
interface under wsgi? We had a report that it had issues under
wsgi. See: https://issues.roundup-tracker.org/issue2551047.
Also Thomas mentioned that you can install mod_wsgi using:
sudo apt install apache2 libapache2-mod-wsgi
You document using the pip method. Is there some reason you went the
pip route rather then the packaged mod_wsgi? Was use of
mod_wsgi-express to make an apache config part of your decision?
Also are you using release 1.6.1 or the current development head?
Also in your docs you say:
you'll need to configure a UNIX group with appropriate privileges
as described elsewhere in the Roundup docs.
do you mean the UNIX Environment Steps section of installation.txt?
Also did you configure systemctl to start the server at port 80, or do
you have to login to run sudo /etc/mod_wsgi-express-80/apachectl
start?
>One thing to note is that the WSGI Handler section of the
>current Roundup docs is not only cryptic but wrong -- it should be
>rewritten or removed.
I have changed the wsgi code in that section. We have had reports that
it wasn't correct. I replaced it with the one Thomas sent a little
after your mail.
In that section, I am not sure how to interpret:
To test the above you should create a demo tracker with
``python demo.py``. Edit the ``config.ini`` to change the web
URL to "http://localhost:8917/".
Was that something else you considered misleading?
I hope to have the wsgi section expanded to use gunicorn or uwsgi
execution environments, but I am having issues with those (see the
rest issue above).
Have a great day.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.