Mercurial > p > roundup > code
comparison doc/installation.txt @ 5940:459426a8c61e
Add basic uwsgi setup.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 21 Oct 2019 22:46:54 -0400 |
| parents | 16eec1c41e0e |
| children | 90a1470edbea |
comparison
equal
deleted
inserted
replaced
| 5939:94c415c7cd36 | 5940:459426a8c61e |
|---|---|
| 929 SCRIPT_NAME=/tracker gunicorn --bind 127.0.0.1:8917 --timeout=10 wsgi:app | 929 SCRIPT_NAME=/tracker gunicorn --bind 127.0.0.1:8917 --timeout=10 wsgi:app |
| 930 | 930 |
| 931 this runs roundup at port 8917 on the loopback interface. You should | 931 this runs roundup at port 8917 on the loopback interface. You should |
| 932 configure the reverse proxy to talk to 127.0.0.1 at port 8917. | 932 configure the reverse proxy to talk to 127.0.0.1 at port 8917. |
| 933 | 933 |
| 934 uWSGI Installation | |
| 935 ^^^^^^^^^^^^^^^^^^ | |
| 936 | |
| 937 For a basic roundup install using uWSGI behind a front end server, | |
| 938 install uwsgi and the python3 (or python) plugin. Then run:: | |
| 939 | |
| 940 uwsgi --http-socket 127.0.0.1:8917 \ | |
| 941 --plugin python3 --mount=/tracker=wsgi.py \ | |
| 942 --manage-script-name --callable app | |
| 943 | |
| 944 using the same wsgi.py as was used for gunicorn. If you get path not | |
| 945 found errors, check the mount option. The /tracker entry must match | |
| 946 the path used for the [tracker] web value in the tracker's config.ini. | |
| 947 | |
| 934 Configure an Email Interface | 948 Configure an Email Interface |
| 935 ---------------------------- | 949 ---------------------------- |
| 936 | 950 |
| 937 If you don't want to use the email component of Roundup, then remove the | 951 If you don't want to use the email component of Roundup, then remove the |
| 938 "``nosyreaction.py``" module from your tracker "``detectors``" directory. | 952 "``nosyreaction.py``" module from your tracker "``detectors``" directory. |
