Skip to content

Commit 0348a69

Browse files
author
Richard Jones
committed
Updated Windows installation docs (thanks Bo Berglund)
1 parent cbb7432 commit 0348a69

File tree

2 files changed

+105
-19
lines changed

2 files changed

+105
-19
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ are given with the most recent entry first.
55
Fixed:
66
- If-Modified-Since handling was broken
77
- Updated documentation for customising hard-coded searches in page.html
8+
- Updated Windows installation docs (thanks Bo Berglund)
89

910

1011
2006-12-19 1.3.2

doc/installation.txt

Lines changed: 104 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installing Roundup
33
==================
44

5-
:Version: $Revision: 1.121 $
5+
:Version: $Revision: 1.122 $
66

77
.. contents::
88
:depth: 2
@@ -467,7 +467,8 @@ directives:
467467
In the following example we have two trackers set up in
468468
``/var/db/roundup/support`` and ``/var/db/roundup/devel`` and accessed
469469
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
471472
reduce the number of configuration directives. Support tracker has
472473
russian user interface. The other tracker (devel) has english user
473474
interface (default).
@@ -510,6 +511,29 @@ Example mod_python configuration::
510511
<Directory /var/db/roundup/devel>
511512
PythonOption TrackerHome /var/db/roundup/devel
512513
</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.
513537

514538
WSGI Handler
515539
~~~~~~~~~~~~
@@ -836,26 +860,87 @@ I do not believe this is possible to do in previous versions of Windows.
836860
Windows Server
837861
--------------
838862

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**
841874

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
848884

849885
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.
859944

860945

861946
Sendmail smrsh

0 commit comments

Comments
 (0)