|
2 | 2 | Installing Roundup |
3 | 3 | ================== |
4 | 4 |
|
5 | | -:Version: $Revision: 1.121 $ |
| 5 | +:Version: $Revision: 1.122 $ |
6 | 6 |
|
7 | 7 | .. contents:: |
8 | 8 | :depth: 2 |
@@ -467,7 +467,8 @@ directives: |
467 | 467 | In the following example we have two trackers set up in |
468 | 468 | ``/var/db/roundup/support`` and ``/var/db/roundup/devel`` and accessed |
469 | 469 | as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/`` |
470 | | -respectively. Having them share same parent directory allows us to |
| 470 | +respectively (provided Apache has been set up for SSL of course). |
| 471 | +Having them share same parent directory allows us to |
471 | 472 | reduce the number of configuration directives. Support tracker has |
472 | 473 | russian user interface. The other tracker (devel) has english user |
473 | 474 | interface (default). |
@@ -510,6 +511,29 @@ Example mod_python configuration:: |
510 | 511 | <Directory /var/db/roundup/devel> |
511 | 512 | PythonOption TrackerHome /var/db/roundup/devel |
512 | 513 | </Directory> |
| 514 | + |
| 515 | +Notice that the ``/var/db/roundup`` path shown above refer to the directory |
| 516 | +in which the tracker homes are stored. The actual value will thus depend on |
| 517 | +your system. |
| 518 | + |
| 519 | +On Windows the corresponding lines will look similar to these:: |
| 520 | + |
| 521 | + AliasMatch /roundup/(.+)/@@file/(.*) C:/DATA/roundup/$1/html/$2 |
| 522 | + AliasMatch /roundup/([^/]+)/(?!@@file/)(.*) C:/DATA/roundup/$1/dummy.py/$2 |
| 523 | + <Directory C:/DATA/roundup/*> |
| 524 | + <Directory C:/DATA/roundup/support> |
| 525 | + <Directory C:/DATA/roundup/devel> |
| 526 | + |
| 527 | +In this example the directory hosting all of the tracker homes is |
| 528 | +``C:\DATA\roundup`` (Notice that you must use forward slashes in paths |
| 529 | +inside the httpd.conf file!) |
| 530 | + |
| 531 | +The URL for accessing these trackers then become: |
| 532 | +`http://<roundupserver>/roundup/support/`` and |
| 533 | +``http://<roundupserver>/roundup/devel/`` |
| 534 | + |
| 535 | +Note that in order to use https connections you must set up Apache for secure |
| 536 | +serving with SSL. |
513 | 537 |
|
514 | 538 | WSGI Handler |
515 | 539 | ~~~~~~~~~~~~ |
@@ -836,26 +860,87 @@ I do not believe this is possible to do in previous versions of Windows. |
836 | 860 | Windows Server |
837 | 861 | -------------- |
838 | 862 |
|
839 | | -To have the Roundup web server start up when your machine boots up, set the |
840 | | -following up in Scheduled Tasks (note, the following is for a cygwin setup): |
| 863 | +To have the Roundup web server start up when your machine boots up, there |
| 864 | +are two different methods, the scheduler and installing the service. |
| 865 | + |
| 866 | + |
| 867 | +1. Using the Windows scheduler |
| 868 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 869 | + |
| 870 | +Set up the following in Scheduled Tasks (note, the following is for a |
| 871 | +cygwin setup): |
| 872 | + |
| 873 | +**Run** |
841 | 874 |
|
842 | | -Run |
843 | | - ``c:\cygwin\bin\bash.exe -c "roundup-server TheProject=/opt/roundup/trackers/support"`` |
844 | | -Start In |
845 | | - ``C:\cygwin\opt\roundup\bin`` |
846 | | -Schedule |
847 | | - At System Startup |
| 875 | + ``c:\cygwin\bin\bash.exe -c "roundup-server TheProject=/opt/roundup/trackers/support"`` |
| 876 | + |
| 877 | +**Start In** |
| 878 | + |
| 879 | + ``C:\cygwin\opt\roundup\bin`` |
| 880 | + |
| 881 | +**Schedule** |
| 882 | + |
| 883 | + At System Startup |
848 | 884 |
|
849 | 885 | To have the Roundup mail gateway run periodically to poll a POP email address, |
850 | | -set the following up in Scheduled Tasks: |
851 | | - |
852 | | -Run |
853 | | - ``c:\cygwin\bin\bash.exe -c "roundup-mailgw /opt/roundup/trackers/support pop roundup:roundup@mail-server"`` |
854 | | -Start In |
855 | | - ``C:\cygwin\opt\roundup\bin`` |
856 | | -Schedule |
857 | | - Every 10 minutes from 5:00AM for 24 hours every day |
858 | | - Stop the task if it runs for 8 minutes |
| 886 | +set up the following in Scheduled Tasks: |
| 887 | + |
| 888 | +**Run** |
| 889 | + |
| 890 | + ``c:\cygwin\bin\bash.exe -c "roundup-mailgw /opt/roundup/trackers/support pop roundup:roundup@mail-server"`` |
| 891 | + |
| 892 | +**Start In** |
| 893 | + |
| 894 | + ``C:\cygwin\opt\roundup\bin`` |
| 895 | + |
| 896 | +**Schedule** |
| 897 | + |
| 898 | + Every 10 minutes from 5:00AM for 24 hours every day |
| 899 | + |
| 900 | + Stop the task if it runs for 8 minutes |
| 901 | + |
| 902 | + |
| 903 | +2. Installing the roundup server as a Windows service |
| 904 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 905 | + |
| 906 | +This is more Windows oriented and will make the Roundup server run as |
| 907 | +soon as the PC starts up without any need for a login or such. It will |
| 908 | +also be available in the normal Windows Administrative Tools. |
| 909 | + |
| 910 | +For this you need first to create a service ini file containing the |
| 911 | +relevant settings. |
| 912 | + |
| 913 | +1. It is created if you execute the following command from within the |
| 914 | + scripts directory (notice the use of backslashes):: |
| 915 | + |
| 916 | + roundup-server -S -C <trackersdir>\server.ini -n <servername> -p 8080 -l <trackersdir>\trackerlog.log software=<trackersdir>\Software |
| 917 | + |
| 918 | + where the item ``<trackersdir>`` is replaced with the physical directory |
| 919 | + that hosts all of your trackers. The ``<servername>`` item is the name |
| 920 | + of your roundup server PC, such as w2003srv or similar. |
| 921 | + |
| 922 | +2. Next open the now created file ``C:\DATA\roundup\server.ini`` file |
| 923 | + (if your ``<trackersdir>`` is ``C:\DATA\roundup``). |
| 924 | + Check the entries for correctness, especially this one:: |
| 925 | + |
| 926 | + [trackers] |
| 927 | + software = C:\DATA\Roundup\Software |
| 928 | + |
| 929 | + (this is an example where the tracker is named software and its home is |
| 930 | + ``C:\DATA\Roundup\Software``) |
| 931 | + |
| 932 | +3. Next give the commands that actually installs and starts the service:: |
| 933 | + |
| 934 | + roundup-server -C C:\DATA\Roundup\server.ini -c install |
| 935 | + roundup-server -c start |
| 936 | + |
| 937 | +4. Finally open the AdministrativeTools/Services applet and locate the |
| 938 | + Roundup service entry. Open its properties and change it to start |
| 939 | + automatically instead of manually. |
| 940 | + |
| 941 | +If you are using Apache as the webserver you might want to use it with |
| 942 | +mod_python instead to serve out Roundup. In that case see the mod_python |
| 943 | +instructions above for details. |
859 | 944 |
|
860 | 945 |
|
861 | 946 | Sendmail smrsh |
|
0 commit comments