Mercurial > p > roundup > code
comparison doc/installation.txt @ 7347:73ef1f84c933
Prevent sample URL's from becoming links.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 14 May 2023 15:40:25 -0400 |
| parents | 7b9bddda9d2d |
| children | 2c5af1c920fc |
comparison
equal
deleted
inserted
replaced
| 7346:4295ac110551 | 7347:73ef1f84c933 |
|---|---|
| 848 4. For testing, open port 8000 for TCP on the server. For an Azure VM, | 848 4. For testing, open port 8000 for TCP on the server. For an Azure VM, |
| 849 this is done with Azure Portal under ``Networking`` > ``Add inbound port`` | 849 this is done with Azure Portal under ``Networking`` > ``Add inbound port`` |
| 850 rule. | 850 rule. |
| 851 5. Test with ``mod_wsgi-express start-server``. This should serve | 851 5. Test with ``mod_wsgi-express start-server``. This should serve |
| 852 up content on localhost port 8000. You can then direct a browser on | 852 up content on localhost port 8000. You can then direct a browser on |
| 853 the server itself to http://localhost:8000/ or on another machine at | 853 the server itself to ``http://localhost:8000/`` or on another machine at |
| 854 the server's domain name or ip address followed by colon then 8000 | 854 the server's domain name or ip address followed by colon then 8000 |
| 855 (e.g. http://11.11.11.101:8000/). If successful, you should see a | 855 (e.g. ``http://11.11.11.101:8000/``). If successful, you should see a |
| 856 Malt Whiskey image. | 856 Malt Whiskey image. |
| 857 | 857 |
| 858 Package manager install of mod_wsgi | 858 Package manager install of mod_wsgi |
| 859 ''''''''''''''''''''''''''''''''''' | 859 ''''''''''''''''''''''''''''''''''' |
| 860 | 860 |
| 887 | 887 |
| 888 To run the tracker on Port 8000 as a foreground process | 888 To run the tracker on Port 8000 as a foreground process |
| 889 ''''''''''''''''''''''''''''''''''''''''''''''''''''''' | 889 ''''''''''''''''''''''''''''''''''''''''''''''''''''''' |
| 890 | 890 |
| 891 1. Change the ``tracker.web`` url in ``config.ini`` to port 8000 at the | 891 1. Change the ``tracker.web`` url in ``config.ini`` to port 8000 at the |
| 892 server domain name or ip address (e.g. http://11.11.11.101:8000/). | 892 server domain name or ip address (e.g. ``http://11.11.11.101:8000/``). |
| 893 2. Open port 8000 for TCP on the server if you didn't already do so. | 893 2. Open port 8000 for TCP on the server if you didn't already do so. |
| 894 3. ``cd`` to your tracker home directory, then run | 894 3. ``cd`` to your tracker home directory, then run |
| 895 ``mod_wsgi-express start-server wsgi.py``. | 895 ``mod_wsgi-express start-server wsgi.py``. |
| 896 4. Test by directing a browser on another machine to the url you set | 896 4. Test by directing a browser on another machine to the url you set |
| 897 ``tracker.web`` to in ``config.ini``. | 897 ``tracker.web`` to in ``config.ini``. |
| 918 | 918 |
| 919 To run mod_wsgi on PORT 80 | 919 To run mod_wsgi on PORT 80 |
| 920 '''''''''''''''''''''''''' | 920 '''''''''''''''''''''''''' |
| 921 | 921 |
| 922 1. Change the ``tracker.web`` url in ``config.ini`` to the server url | 922 1. Change the ``tracker.web`` url in ``config.ini`` to the server url |
| 923 with no port designator. E.g. http://11.11.11.101. | 923 with no port designator. E.g. ``http://11.11.11.101``. |
| 924 2. Open port 80 on the server for TCP traffic if it isn't open already. | 924 2. Open port 80 on the server for TCP traffic if it isn't open already. |
| 925 3. Stop the system instance of Apache to make sure it isn't holding on | 925 3. Stop the system instance of Apache to make sure it isn't holding on |
| 926 to port 80 run: ``sudo service apache2 stop``. | 926 to port 80 run: ``sudo service apache2 stop``. |
| 927 | 927 |
| 928 To run as a foreground process | 928 To run as a foreground process |
| 1068 In this example the directory hosting all of the tracker homes is | 1068 In this example the directory hosting all of the tracker homes is |
| 1069 ``C:\DATA\roundup``. (Notice that you must use forward slashes in paths | 1069 ``C:\DATA\roundup``. (Notice that you must use forward slashes in paths |
| 1070 inside the httpd.conf file!) | 1070 inside the httpd.conf file!) |
| 1071 | 1071 |
| 1072 The URL for accessing these trackers then become: | 1072 The URL for accessing these trackers then become: |
| 1073 `http://<roundupserver>/roundup/support/`` and | 1073 ``http://<roundupserver>/roundup/support/`` and |
| 1074 ``http://<roundupserver>/roundup/devel/`` | 1074 ``http://<roundupserver>/roundup/devel/`` |
| 1075 | 1075 |
| 1076 Note that in order to use https connections you must set up Apache for secure | 1076 Note that in order to use https connections you must set up Apache for secure |
| 1077 serving with SSL. | 1077 serving with SSL. |
| 1078 | 1078 |
