Thank you everyone. You have given me the starting point I was looking for.
Off to get neck deep, now.
-----Original Message-----
From: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kevin Adler
Sent: Thursday, April 30, 2020 1:00 PM
To: opensource@xxxxxxxxxxxxxxxxxx
Subject: Re: [IBMiOSS] Python WSGI Server
[1]
https://docs.gunicorn.org/en/stable/install.html
For the most part, Python is Python so there's no need to search for
resources how to install "on IBM i".
One thing I would recommend, though, is to use a virtual environment for
Python: [2]
https://docs.python-guide.org/dev/virtualenvs/
If you want access to the packages that we build and ship through yum, add
--system-site-packages, eg. python3 -m venv --system-site-packages
/path/to/virtual/environment
----- Original message -----
From: Quintin Holmberg <qholmberg@xxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Python WSGI Server
Date: Thu, Apr 30, 2020 11:23 AM
I understand. At this point, I am waste deep and it's rising.
Next question ... I'm scouring through my resources looking for
information on installing Gunicorn on the i and coming up empty. Can
anyone point me in a direction?
Quintin Holmberg
Director of IT
Dayton Rogers Manufacturing Co.
qholmberg@xxxxxxxxxxxxxxxx
-----Original Message-----
From: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
midrangel@xxxxxxxxxxxxxxxxx
Sent: Thursday, April 30, 2020 11:18 AM
To: 'IBMi Open Source Roundtable' <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Python WSGI Server
Be sure to read everything. It looks like Kevin did this when we were
still using 5733-OPS so it refers to those file locations. Easy enough
to update, but be aware you need to do it.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Kevin Adler
Sent: Thursday, April 30, 2020 10:54 AM
To: opensource@xxxxxxxxxxxxxxxxxx
Subject: Re: [IBMiOSS] Python WSGI Server
The IBM i version of Apache does not ship with mod_wsgi so you'd have
to
build it yourself and I don't think that's possible.
We typically recommend using [1][3]
https://gunicorn.org/ with a
reverse proxy
(can be done from Apache or NGINX). I wrote a STRTCPSVR plugin for
Gunicorn at
[2][4]
https://github.com/OSSILE/OSSILE/tree/master/main/c_gunicorn_server ;.
----- Original message -----
From: Quintin Holmberg <qholmberg@xxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] [IBMiOSS] Python WSGI Server
Date: Thu, Apr 30, 2020 10:28 AM
We have a student group doing a Python based dashboard for us. I'm
getting the IBMi ready for a Flask based app so, I need a WSGI
container. This is new to me. It seems there are a variety of
options
including mod_wsgi for Apache.
Two questions ...
1) Could anyone who has configured a WSGI container on the IBMi
describe
for me what they used and, possibly, provide some links to
configuration?
2) Does anyone know of a good instruction set for configuring
mod_wsgi
in Apache on the IBMi?
We already use Apache for some web applications so, I'm leaning
that
directions. That said, I'm open to information about "better"
options
and why they might be preferable.
Thanks.
Quintin Holmberg
Director of IT
Dayton Rogers Manufacturing Co.
qholmberg@xxxxxxxxxxxxxxxx
NOTICE – this email and any attached file (“Information”) may
contain
technical data subject to the U.S. International Traffic in Arms
Regulation (“ITAR”) 22 CFR parts 120-130. The Information may not
be
shared with any Foreign Person, as that term is defined in ITAR.
The
Information is sent only for the use of the intended recipient and
may
contain legally privileged and/or confidential information. If you
are
not the intended recipient, you are notified that any dissemination
or
copying of the Information is prohibited. If you received the
Information in error you must notify the sender immediately and
destroy
the Information without printing or saving it.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
[3][5]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [4][6]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our
affiliate
link: [5][7]
https://amazon.midrange.com ;
References
Visible links
1. [8]
https://gunicorn.org/ ;
2.
[9]
https://github.com/OSSILE/OSSILE/tree/master/main/c_gunicorn_server ;
3. [10]
https://lists.midrange.com/mailman/listinfo/opensource ;
4. [11]
https://archive.midrange.com/opensource ;
5. [12]
https://amazon.midrange.com/ ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: [13]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[14]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [15]
https://amazon.midrange.com ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: [16]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[17]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [18]
https://amazon.midrange.com ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [19]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [20]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [21]
https://amazon.midrange.com ;
References
Visible links
1.
https://docs.gunicorn.org/en/stable/install.html
2.
https://docs.python-guide.org/dev/virtualenvs/
3.
https://gunicorn.org/
4.
https://github.com/OSSILE/OSSILE/tree/master/main/c_gunicorn_server
5.
https://lists.midrange.com/mailman/listinfo/opensource
6.
https://archive.midrange.com/opensource
7.
https://amazon.midrange.com/
8.
https://gunicorn.org/
9.
https://github.com/OSSILE/OSSILE/tree/master/main/c_gunicorn_server
10.
https://lists.midrange.com/mailman/listinfo/opensource
11.
https://archive.midrange.com/opensource
12.
https://amazon.midrange.com/
13.
https://lists.midrange.com/mailman/listinfo/opensource
14.
https://archive.midrange.com/opensource
15.
https://amazon.midrange.com/
16.
https://lists.midrange.com/mailman/listinfo/opensource
17.
https://archive.midrange.com/opensource
18.
https://amazon.midrange.com/
19.
https://lists.midrange.com/mailman/listinfo/opensource
20.
https://archive.midrange.com/opensource
21.
https://amazon.midrange.com/
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.