Mercurial > p > roundup > code
annotate doc/installation.txt @ 7311:4bbd1316db00
document location of frontends when installed and in source
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 10 May 2023 18:17:25 -0400 |
| parents | ac6403bfcb1f |
| children | a5f948e0eef5 |
| rev | line source |
|---|---|
|
6586
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
1 .. meta:: |
|
6774
e7b4ad2c57ac
landmarks, skiplink, remove bad attrs, autocomplete search
John Rouillard <rouilj@ieee.org>
parents:
6769
diff
changeset
|
2 :description: |
|
6586
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
3 Everything about installing the Roundup issue tracker web and |
|
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
4 mail interfaces and configuring a tracker. How to download and |
|
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
5 demonstrate Roundup using using command line or |
|
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
6 Docker. Optional software that adds functionality to Roundup. |
|
24e2eeb2ed9a
Add meta description to some doc pages.
John Rouillard <rouilj@ieee.org>
parents:
6581
diff
changeset
|
7 |
|
6168
de9d602c8ce6
more index entries and CHANGES.txt update for them.
John Rouillard <rouilj@ieee.org>
parents:
6163
diff
changeset
|
8 .. index:: Installation |
|
de9d602c8ce6
more index entries and CHANGES.txt update for them.
John Rouillard <rouilj@ieee.org>
parents:
6163
diff
changeset
|
9 |
|
688
b38f4f95bffd
More doc tweaks
Richard Jones <richard@users.sourceforge.net>
parents:
686
diff
changeset
|
10 ================== |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 Installing Roundup |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
12 ================== |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
13 |
|
686
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
14 .. contents:: |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
15 :depth: 3 |
|
4890
609edf9de0a5
docs: Remove one nesting level from ToC on subpages
anatoly techtonik <techtonik@gmail.com>
parents:
4792
diff
changeset
|
16 :local: |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
17 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
18 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
19 Overview |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 ======== |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 Broken out separately, there are several conceptual pieces to a |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
23 Roundup installation: |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
25 Roundup trackers |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
26 Trackers consist of issues (be they bug reports or otherwise), tracker |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
27 configuration file(s), web HTML files etc. Roundup trackers are initialised |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
28 with a "Template" which defines the fields usable/assignable on a |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
29 per-issue basis. Descriptions of the provided templates are given in |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
30 `choosing your template`_. |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
31 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
32 Roundup support code |
|
3297
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
33 Installed into your Python install's lib directory. |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
34 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
35 Roundup scripts |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
36 These include the email gateway, the roundup |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
37 HTTP server, the roundup administration command-line interface, etc. |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
38 |
|
7137
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
39 For The Really Impatient |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
40 ======================== |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
41 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
42 If you just want to give Roundup a whirl Right Now, follow these |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
43 directions to download, unpack and run ``demo.py``. (Replace |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
44 ``-2.2.0`` with the version number of the file you downloaded. On |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
45 systems that don't provide a ``python3`` program you can run |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
46 ``python demo.py``.) |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
47 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
48 1. ``python3 -m pip download roundup`` |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
49 2. ``tar -xzvf roundup-2.2.0.tar.gz`` |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
50 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
51 * if you don't have a tar command, ``python3 -c 'import tarfile, sys; tarfile.open(sys.argv[1]).extractall();' roundup-2.2.0.tar.gz`` can be used. |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
52 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
53 3. ``cd roundup-2.2.0`` |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
54 4. ``python3 demo.py`` |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
55 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
56 This will set up a simple demo tracker on your machine. [1]_ |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
57 When it's done, it'll print out a URL to point your web browser at |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
58 so you may start playing. Three users will be set up: |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
59 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
60 1. anonymous - the "default" user with permission to do very little |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
61 2. demo (password "demo") - a normal user who may create issues |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
62 3. admin (password "admin") - an administrative user who has complete |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
63 access to the tracker |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
64 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
65 Note the demo tracker removes the detector (nosyreaction.py) that |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
66 sends email notifications. If you later convert your demo tracker to |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
67 production you will need to copy in the detector to send notification |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
68 emails. |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
69 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
70 If you install Roundup, the ``demo.py`` script is available as |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
71 ``roundup-demo``. |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
72 |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
73 .. [1] Demo tracker is set up to be accessed by localhost browser. |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
74 If you run demo on a server host, please stop the demo (using |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
75 Control-C) after it has shown the startup notice, open file |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
76 ``demo/config.ini`` with your editor, change host name in |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
77 the ``web`` option in section ``[tracker]``, save the file, |
|
4553614a2b22
move For ... Impatient section up, add directions, style footnote
John Rouillard <rouilj@ieee.org>
parents:
7136
diff
changeset
|
78 then re-run the demo.py program. |
|
1218
4c9882cb16a3
more docco work
Richard Jones <richard@users.sourceforge.net>
parents:
1170
diff
changeset
|
79 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
80 Prerequisites |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
81 ============= |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
82 |
|
5526
df3f553fa414
Update documentation for Python 3 support (issue 2550968, issue 2550980).
Joseph Myers <jsm@polyomino.org.uk>
parents:
5510
diff
changeset
|
83 Roundup requires Python 2.7 or 3.4 or newer with a functioning |
|
5756
e48b039b0ec0
issue2550966: fix suboptimal links in docs.
John Rouillard <rouilj@ieee.org>
parents:
5610
diff
changeset
|
84 anydbm module. Download the latest version from https://www.python.org/. |
|
1965
43e1f2457bf2
info about how roundup is installed
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
85 It is highly recommended that users install the latest patch version |
|
43e1f2457bf2
info about how roundup is installed
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
86 of python as these contain many fixes to serious bugs. |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
87 |
|
3421
0d9406d14186
MySQL now creates String columns using the TEXT column type
Richard Jones <richard@users.sourceforge.net>
parents:
3417
diff
changeset
|
88 Some variants of Linux will need an additional "python dev" package |
|
0d9406d14186
MySQL now creates String columns using the TEXT column type
Richard Jones <richard@users.sourceforge.net>
parents:
3417
diff
changeset
|
89 installed for Roundup installation to work. Debian and derivatives, are |
|
0d9406d14186
MySQL now creates String columns using the TEXT column type
Richard Jones <richard@users.sourceforge.net>
parents:
3417
diff
changeset
|
90 known to require this. |
|
0d9406d14186
MySQL now creates String columns using the TEXT column type
Richard Jones <richard@users.sourceforge.net>
parents:
3417
diff
changeset
|
91 |
|
3296
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
92 Optional Components |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
93 =================== |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
94 |
|
3297
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
95 You may optionally install and use: |
|
3296
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
96 |
|
3623
bef78d81b79c
added optional prerequisite: pytz
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3571
diff
changeset
|
97 Timezone Definitions |
|
3731
e6ef9abfe403
fix pytz requirement version and download URL for latest package
Richard Jones <richard@users.sourceforge.net>
parents:
3730
diff
changeset
|
98 Full timezone support requires pytz_ module (version 2005i or later) |
|
3730
8e3b881060b4
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3729
diff
changeset
|
99 which brings the `Olson tz database`_ into Python. If pytz_ is not |
|
8e3b881060b4
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3729
diff
changeset
|
100 installed, timezones may be specified as numeric hour offsets only. |
|
5140
7ea6bbf4286c
update docs for windows installer: 32 bit version of python, must run nstaller as administrator, ned pywin32 to run as service. Encourage installation of pytz.
John Rouillard <rouilj@ieee.org>
parents:
5138
diff
changeset
|
101 This is optional but strongly suggested. |
|
5321
4566360871dc
Raises python requirement to 2.7.
Bernhard Reiter <bernhard@intevation.de>
parents:
5300
diff
changeset
|
102 |
|
3296
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
103 An RDBMS |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
104 Sqlite, MySQL and Postgresql are all supported by Roundup and will be |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
105 used if available. One of these is recommended if you are anticipating a |
| 7303 | 106 large user base (see `choosing your backend`_ below). Sqlite should |
| 107 always be available. | |
|
6174
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
108 |
|
3296
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
109 Xapian full-text indexer |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
110 The Xapian_ full-text indexer is also supported and will be used by |
|
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
111 default if it is available. This is strongly recommended if you are |
|
3417
07c696890f55
mailgw subject parsing has configurable levels of strictness
Richard Jones <richard@users.sourceforge.net>
parents:
3405
diff
changeset
|
112 anticipating a large number of issues (> 5000). |
|
3296
d5fa5a0b5216
some minimalist docs for Xapian
Richard Jones <richard@users.sourceforge.net>
parents:
3153
diff
changeset
|
113 |
|
3297
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
114 You may install Xapian at any time, even after a tracker has been |
|
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
115 installed and used. You will need to run the "roundup-admin reindex" |
|
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
116 command if the tracker has existing data. |
|
8f7dc283bfa5
some more Xapian stuff (doc, test fixes)
Richard Jones <richard@users.sourceforge.net>
parents:
3296
diff
changeset
|
117 |
|
4378
477f2a47cbca
- Indexer Xapian, made Xapian 1.2 compatible.
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4355
diff
changeset
|
118 Roundup requires Xapian 1.0.0 or newer. |
|
3485
8d55b5db6365
xapian works, if you poke it enough
Richard Jones <richard@users.sourceforge.net>
parents:
3447
diff
changeset
|
119 |
|
5108
67fad01d2009
issue2550653: xapian search, stemming is not working
John Rouillard <rouilj@ieee.org>
parents:
5096
diff
changeset
|
120 Note that capitalization is not preserved by the Xapian search. |
|
67fad01d2009
issue2550653: xapian search, stemming is not working
John Rouillard <rouilj@ieee.org>
parents:
5096
diff
changeset
|
121 This is required to make the porter stemmer work so that searching |
|
67fad01d2009
issue2550653: xapian search, stemming is not working
John Rouillard <rouilj@ieee.org>
parents:
5096
diff
changeset
|
122 for silent also returns documents with the word silently. Note that |
|
67fad01d2009
issue2550653: xapian search, stemming is not working
John Rouillard <rouilj@ieee.org>
parents:
5096
diff
changeset
|
123 the current stemming implementation is designed for English. |
|
67fad01d2009
issue2550653: xapian search, stemming is not working
John Rouillard <rouilj@ieee.org>
parents:
5096
diff
changeset
|
124 |
|
5096
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
125 Whoosh full-text indexer |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
126 The Whoosh_ full-text indexer is also supported and will be used by |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
127 default if it is available (and Xapian is not installed). This is |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
128 recommended if you are anticipating a large number of issues (> 5000). |
|
6576
c55d56ab9ee9
Document whoosh implements fuzzy search.
John Rouillard <rouilj@ieee.org>
parents:
6555
diff
changeset
|
129 It is also the only search backend that implements fuzzy search. It |
|
c55d56ab9ee9
Document whoosh implements fuzzy search.
John Rouillard <rouilj@ieee.org>
parents:
6555
diff
changeset
|
130 matches any word that has a 1 character difference from the search term. |
|
5096
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
131 |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
132 You may install Whoosh at any time, even after a tracker has been |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
133 installed and used. You will need to run the "roundup-admin reindex" |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
134 command if the tracker has existing data. |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
135 |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
136 Roundup was tested with Whoosh 2.5.7, but earlier versions in the |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
137 2.0 series may work. Whoosh is a pure python indexer so it is slower |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
138 than Xapian, but should be useful for moderately sized trackers. |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
139 It uses the StandardAnalyzer which is suited for Western languages. |
|
e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
John Rouillard <rouilj@ieee.org>
parents:
5083
diff
changeset
|
140 |
|
3885
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
141 pyopenssl |
|
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
142 If pyopenssl_ is installed the roundup-server can be configured |
|
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
143 to serve trackers over SSL. If you are going to serve roundup via |
|
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
144 proxy through a server with SSL support (e.g. apache) then this is |
|
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
145 unnecessary. |
|
d4163100f4f3
add pyopenssl to optional components
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3830
diff
changeset
|
146 |
|
5494
b7fa56ced601
use gpg module instead of pyme module for PGP encryption
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5486
diff
changeset
|
147 gpg |
|
b7fa56ced601
use gpg module instead of pyme module for PGP encryption
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5486
diff
changeset
|
148 If gpg_ is installed you can configure the mail gateway to perform |
|
3922
586679a314f7
role checking for PGP mail and docs
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3885
diff
changeset
|
149 verification or decryption of incoming OpenPGP MIME messages. When |
|
586679a314f7
role checking for PGP mail and docs
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3885
diff
changeset
|
150 configured, you can require email to be cryptographically signed |
|
586679a314f7
role checking for PGP mail and docs
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3885
diff
changeset
|
151 before roundup will allow it to make modifications to issues. |
|
586679a314f7
role checking for PGP mail and docs
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3885
diff
changeset
|
152 |
|
5013
c1443d96ac94
jinja2: optional requirement added to installation.txt and link to wiki page.
Bernhard Reiter <bernhard@intevation.de>
parents:
4949
diff
changeset
|
153 jinja2 |
|
c1443d96ac94
jinja2: optional requirement added to installation.txt and link to wiki page.
Bernhard Reiter <bernhard@intevation.de>
parents:
4949
diff
changeset
|
154 To use the jinja2 template (may still be experimental, check out |
|
c1443d96ac94
jinja2: optional requirement added to installation.txt and link to wiki page.
Bernhard Reiter <bernhard@intevation.de>
parents:
4949
diff
changeset
|
155 its TEMPLATE-INFO.txt file) you need |
|
c1443d96ac94
jinja2: optional requirement added to installation.txt and link to wiki page.
Bernhard Reiter <bernhard@intevation.de>
parents:
4949
diff
changeset
|
156 to have the jinja2_ template engine installed. |
|
c1443d96ac94
jinja2: optional requirement added to installation.txt and link to wiki page.
Bernhard Reiter <bernhard@intevation.de>
parents:
4949
diff
changeset
|
157 |
|
5878
1b57d8f3eb97
Add rudimentery experiment JSON Web Token (jwt) support
John Rouillard <rouilj@ieee.org>
parents:
5756
diff
changeset
|
158 pyjwt |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
159 To use jwt tokens for login (experimental), install `pyjwt`_ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
160 (v1.7.1, v2.0.1 tested). If you don't have it installed, jwt |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
161 tokens are not supported. |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
162 |
|
6097
90a1470edbea
added markdown rendering support using either markdown2 or markdown
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5940
diff
changeset
|
163 docutils |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
164 To use ReStructuredText rendering you need to have the `docutils`_ |
|
6097
90a1470edbea
added markdown rendering support using either markdown2 or markdown
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5940
diff
changeset
|
165 package installed. |
|
90a1470edbea
added markdown rendering support using either markdown2 or markdown
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5940
diff
changeset
|
166 |
|
6099
55c56ceacb8e
escape HTML tags in markdown content
Christof Meerwald <cmeerw@cmeerw.org>
parents:
6097
diff
changeset
|
167 markdown, markdown2 or mistune |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
168 To use markdown rendering you need to have the markdown_, markdown2_ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
169 or mistune_ (v0.8.4 tested) package installed. |
|
6097
90a1470edbea
added markdown rendering support using either markdown2 or markdown
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5940
diff
changeset
|
170 |
|
6458
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
171 zstd, brotli |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
172 To have roundup compress the returned data using one of these |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
173 algorithms, you can install one or more of zstd_ or brotli_. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
174 Roundup's responses can always be compressed with gzip from the |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
175 Python standard library. Also nginx and various wsgi server can |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
176 compress the response from roundup as they transmit/proxy it to the |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
177 client. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
178 |
|
6814
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
179 redis |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
180 Storing ephemeral data: session keys, CSRF tokens etc. can be |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
181 performance bottleneck. You can choose to deploy a Redis_ database |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
182 using the redis-py_ pypi package. See the section on |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
183 `Using Redis for Session Databases`_ in the `administration |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
184 guide`_ for details. |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
185 |
|
4686
4e740f02e165
Remove pywin32 installation dependency by porting portalocker.py to ctypes.
anatoly techtonik <techtonik@gmail.com>
parents:
4672
diff
changeset
|
186 Windows Service |
|
4e740f02e165
Remove pywin32 installation dependency by porting portalocker.py to ctypes.
anatoly techtonik <techtonik@gmail.com>
parents:
4672
diff
changeset
|
187 You can run Roundup as a Windows service if pywin32_ is installed. |
|
5140
7ea6bbf4286c
update docs for windows installer: 32 bit version of python, must run nstaller as administrator, ned pywin32 to run as service. Encourage installation of pytz.
John Rouillard <rouilj@ieee.org>
parents:
5138
diff
changeset
|
188 Otherwise it must be started manually. |
|
4686
4e740f02e165
Remove pywin32 installation dependency by porting portalocker.py to ctypes.
anatoly techtonik <techtonik@gmail.com>
parents:
4672
diff
changeset
|
189 |
|
7065
48da482d7d93
reference requests library for imap_oauth in roundup-mailgw
John Rouillard <rouilj@ieee.org>
parents:
7042
diff
changeset
|
190 requests |
|
48da482d7d93
reference requests library for imap_oauth in roundup-mailgw
John Rouillard <rouilj@ieee.org>
parents:
7042
diff
changeset
|
191 If you are using OAuth authentication with the roundup-mailgw |
|
48da482d7d93
reference requests library for imap_oauth in roundup-mailgw
John Rouillard <rouilj@ieee.org>
parents:
7042
diff
changeset
|
192 mail gateway you need to install the requests_ library. |
|
48da482d7d93
reference requests library for imap_oauth in roundup-mailgw
John Rouillard <rouilj@ieee.org>
parents:
7042
diff
changeset
|
193 |
|
6814
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
194 .. _Using Redis for Session Databases: |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
195 admin_guide.html#using-redis-for-session-databases |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
196 |
|
998
a1922b2521a7
reordering to make a little more sense
Richard Jones <richard@users.sourceforge.net>
parents:
991
diff
changeset
|
197 Getting Roundup |
|
a1922b2521a7
reordering to make a little more sense
Richard Jones <richard@users.sourceforge.net>
parents:
991
diff
changeset
|
198 =============== |
|
a1922b2521a7
reordering to make a little more sense
Richard Jones <richard@users.sourceforge.net>
parents:
991
diff
changeset
|
199 |
|
2742
8ac87d4092e2
more install doc tweaks
Richard Jones <richard@users.sourceforge.net>
parents:
2741
diff
changeset
|
200 .. note:: |
|
6629
6fe56720e13d
Remove windows installer directions, update disrributions
John Rouillard <rouilj@ieee.org>
parents:
6619
diff
changeset
|
201 Some systems, such as Gentoo and NetBSD, already have Roundup |
|
7301
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
202 installed. Try running the command "roundup-admin -v". |
|
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
203 If it runs and reports a current version, you may skip the |
|
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
204 `Basic Installation Steps`_ below and go straight to |
|
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
205 `configuring your first tracker`_. However it may be an old |
|
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
206 version. If so you should probably install it in a virtual |
|
d5442d781a09
update doc on check for pre-installed roundup
John Rouillard <rouilj@ieee.org>
parents:
7137
diff
changeset
|
207 environment from the Roundup web site or pypi. |
|
2742
8ac87d4092e2
more install doc tweaks
Richard Jones <richard@users.sourceforge.net>
parents:
2741
diff
changeset
|
208 |
|
6265
b2eb59ada444
Replace http:....roundup-tracker.org with https. Also fix wiki links.
John Rouillard <rouilj@ieee.org>
parents:
6262
diff
changeset
|
209 Download the latest version from https://www.roundup-tracker.org/. |
|
998
a1922b2521a7
reordering to make a little more sense
Richard Jones <richard@users.sourceforge.net>
parents:
991
diff
changeset
|
210 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
211 Installation |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
212 ============ |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
213 |
|
2991
b9a55628a78d
more doc fixes
Richard Jones <richard@users.sourceforge.net>
parents:
2988
diff
changeset
|
214 Set aside 15-30 minutes. There's several steps to follow in your |
| 1228 | 215 installation: |
| 1049 | 216 |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
217 1. `basic installation steps`_ if Roundup is not installed on your system |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
218 2. `configuring your first tracker`_ that all installers must follow |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
219 3. then optionally `configure a web interface`_ |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
220 4. and optionally `configure an email interface`_ |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
221 5. `UNIX environment steps`_ to take if you're installing on a shared |
| 7303 | 222 UNIX machine and want to restrict local access to Roundup |
| 1049 | 223 |
|
2003
a291bf753037
maintenance -> admin guide
Richard Jones <richard@users.sourceforge.net>
parents:
1965
diff
changeset
|
224 For information about how Roundup installs, see the `administration |
|
a291bf753037
maintenance -> admin guide
Richard Jones <richard@users.sourceforge.net>
parents:
1965
diff
changeset
|
225 guide`_. |
|
1965
43e1f2457bf2
info about how roundup is installed
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
226 |
|
6727
3f3ce3004013
issue2551206 - remove mention of roundup installer, fix up windows docs
John Rouillard <rouilj@ieee.org>
parents:
6663
diff
changeset
|
227 The following assumes that you are using the source distribution. |
| 1049 | 228 |
| 229 Basic Installation Steps | |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
230 ------------------------ |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
231 |
|
6739
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
232 Installation of Roundup using Python3 in a virtual environment is |
| 7303 | 233 recommended. Use:: |
|
6739
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
234 |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
235 python3 -m venv /path/to/environment/roundup |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
236 |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
237 then proceed as below after activating (assuming a Bourne like shell) |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
238 the Python environment using:: |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
239 |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
240 . /path/to/environment/roundup/bin/activate |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
241 |
| 7303 | 242 You can use the alias ``deactivate`` to return to the normal Python |
|
6739
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
243 environment. If you create the virtual envirnment as a non-root user, |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
244 you can install below using the same user. |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
245 |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
246 To install the Roundup support code into your Python tree and Roundup |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
247 scripts into /usr/bin (substitute that path for whatever is |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
248 appropriate on your system). You need to have write permissions for |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
249 these locations, so you may need to run wthese commands with ``sudo`` |
|
00fe67eb8a91
Update locations templates and locale files are stored
John Rouillard <rouilj@ieee.org>
parents:
6738
diff
changeset
|
250 if root permission is required:: |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
251 |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
252 python setup.py install |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
253 |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
254 If you would like to place the Roundup scripts in a directory other |
| 3524 | 255 than ``/usr/bin``, then specify the preferred location with |
|
3949
29dfb873b32e
Small documentation cleanup
Justus Pendleton <jpend@users.sourceforge.net>
parents:
3935
diff
changeset
|
256 ``--install-scripts``. For example, to install them in |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
257 ``/opt/roundup/bin``:: |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
258 |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
259 python setup.py install --install-scripts=/opt/roundup/bin |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
260 |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
261 You can also use the ``--prefix`` option to use a completely different |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
262 base directory, if you do not want to use administrator rights. If you |
|
2449
706031763266
clarification
Richard Jones <richard@users.sourceforge.net>
parents:
2409
diff
changeset
|
263 choose to do this, you may have to change Python's search path (sys.path) |
|
706031763266
clarification
Richard Jones <richard@users.sourceforge.net>
parents:
2409
diff
changeset
|
264 yourself. |
|
1282
2feb3e0a9955
included doc ideas from Bernhard Reiter
Richard Jones <richard@users.sourceforge.net>
parents:
1245
diff
changeset
|
265 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
266 Docker Support |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
267 ~~~~~~~~~~~~~~ |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
268 |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
269 If you don't want to install it natively, you can create a Docker |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
270 container. This installs roundup using the `stand-alone web server`_ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
271 method. This is an http only install so we suggest putting an https |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
272 terminating proxy in front of it. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
273 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
274 This is a work in progress and patches to improve it are welcome. You |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
275 can find the docker config files under the `scripts/Docker` directory |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
276 of the source tree. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
277 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
278 The dockerized Roundup includes database drivers for anydbm, sqlite, |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
279 MySQL and Postgresql (Postgresl is untested). It also includes |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
280 additional libraries that are listed in |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
281 `scripts/Docker/requirements.txt`. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
282 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
283 Email support is a work in progress. Outgoing email should work given |
| 6769 | 284 an external SMTP server. Receiving email should work by using a |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
285 scheduled (cron) job to access email: |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
286 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
287 * `As a regular job using a mailbox source`_ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
288 * `As a regular job using a POP source`_ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
289 * `As a regular job using an IMAP source`_ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
290 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
291 Patches for better email support are welcome. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
292 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
293 If you want to use a MySQL backend, the `docker-compose.yml` file will |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
294 deploy a Roundup container and a MySQL container backend for use with |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
295 Roundup. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
296 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
297 Building a Docker Container |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
298 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
299 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
300 To build a docker container using the code in the current directory, |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
301 run this build command from the top of the source tree:: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
302 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
303 docker build -t roundup-app -f scripts/Docker/Dockerfile . |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
304 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
305 You can also build a container using the newest Roundup release on |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
306 PyPI, by running:: |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
307 |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
308 docker build -t roundup-app --build-arg="source=pypi" \ |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
309 -f scripts/Docker/Dockerfile . |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
310 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
311 The docker declares a single volume mounted at |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
312 ``/usr/src/app/tracker`` inside the container. You will mount your |
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
313 tracker home directory at this location. The ``/usr/src/app`` path can |
|
7042
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
314 be changed by using ``--build-arg="appdir=/new/path"``. |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
315 |
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
316 You can also add additional modules to the docker container by using |
|
7042
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
317 `--build-arg="pip_mod=requests setproctitle"`. |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
318 |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
319 Because of deficiencies in the docker program (see: |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
320 https://github.com/moby/moby/issues/29110#issuecomment-1100676306), |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
321 there is no way to determine the version of Python inside the |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
322 container and make that available as part of the build process. If |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
323 your build fails because the ``pythonversion does not match``, add the |
|
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
324 suggested ``--build-arg`` to the ``docker build`` command line. |
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
325 |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
326 By default the container runs Roundup using UID 1000. By setting |
|
7042
031cdb92fa1d
Replace hardcoded python version with ARG variable
John Rouillard <rouilj@ieee.org>
parents:
6989
diff
changeset
|
327 `--build-arg="roundup_uid=2000"` you can change the UID. |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
328 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
329 Configuring Roundup in the Container |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
330 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
331 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
332 Once the docker is created using one of the build commands above, run |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
333 an interactive session it with:: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
334 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
335 docker run -it --rm -p 9017:8080 \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
336 -v $PWD/tracker:/usr/src/app/tracker roundup-app:latest |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
337 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
338 The ``-v`` option maps a directory from the host into the docker |
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
339 container. Note that uid 1000 is used by roundup by default. The uid |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
340 of the directory (and all files under it) must match the uid. You can |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
341 set the UID at image build time, see above. This |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
342 example assumes your tracker configs are in the tracker |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
343 subdirectory. Replace ``$PWD/tracker`` with the full path name to the |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
6774
diff
changeset
|
344 directory where the tracker home(s) are to be stored. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
345 |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
346 The ``-p`` option maps an external port (9017) to proxy the roundup |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
347 server running at port 8080 to the outside. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
348 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
349 If the tracker directory is empty, the docker container will prompt |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
350 you to install a tracker template and prompt you for the database |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
351 type. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
352 |
|
6581
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
353 Then you need to configure the tracker by editing |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
354 ``template/config.ini``. Make sure that the tracker web setting ends |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
355 in ``/issues/`` See `Configuring your first tracker` and the top of |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
356 ``config.ini`` for other settings. |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
357 |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
358 Once you have configured the tracker, run another interactive session |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
359 with:: |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
360 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
361 docker run --rm -it -p 9017:8080 \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
362 -v $PWD/tracker:/usr/src/app/tracker roundup-app:latest |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
363 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
364 this will initialize the database and attempt to start the server. If |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
365 that is successful, use control-c to exit the server. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
366 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
367 Now start the server non-interactively (note no `-it` option) with:: |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
368 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
369 docker run -p 9017:8080 \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
370 -v $PWD/tracker:/usr/src/app/tracker roundup-app:latest |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
371 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
372 Your tracker will be available at: ``http://yourhost:9017/issues/``. |
|
6522
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
373 |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
374 If you need to access your container while the server is running you |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
375 can use:: |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
376 |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
377 docker exec -it c0d5 sh |
|
e6ae8188f61a
issue2551163 Docker/containerization support
John Rouillard <rouilj@ieee.org>
parents:
6458
diff
changeset
|
378 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
379 where ``c0d5`` is the id prefix for the running container obtained |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
380 from ``docker container ls``. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
381 |
|
6581
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
382 If you add ``-e SHELL_DEBUG=1`` to the docker command, it sets the |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
383 ``SHELL_DEBUG`` environment variable which will enable debugging |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
384 output from the startup script. |
|
b5fb268b7f04
Docker installation doc improved and switchable debugging
John Rouillard <rouilj@ieee.org>
parents:
6576
diff
changeset
|
385 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
386 Non-Guided Installation |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
387 ''''''''''''''''''''''' |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
388 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
389 If you got a tracker installed using the automatic setup above, you |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
390 can skip this section. To manually install and initialize the |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
391 trackers, you can get a shell without starting the roundup-server |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
392 using:: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
393 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
394 docker run -it \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
395 -v $PWD/tracker:/usr/src/app/tracker \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
396 --entrypoint sh roundup-app:latest |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
397 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
398 Now you can configure your tracker using ``roundup-admin -i tracker`` |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
399 using the directions for `Configuring your first tracker`. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
400 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
401 Defining Multiple Trackers |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
402 ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
403 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
404 If you want to run multiple trackers, create a subdirectory for each |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
405 tracker home under the volume mount point (``$PWD/tracker``). Then |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
406 invoke ``docker run`` passing the roundup-server tracker |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
407 specifications like:: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
408 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
409 docker run --rm -p 9017:8080 \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
410 -v /.../issue.tracker:/usr/src/app/tracker \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
411 roundup-app:latest tracker1=tracker/tracker1_home \ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
412 tracker2=tracker/tracker2_home |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
413 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
414 This will set up two trackers that can be reached at |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
415 ``http://yourhost:9017/tracker1/`` and ``http://yourhost:9017/tracker2/``. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
416 The arguments after roundup-app:latest are tracker paths that are |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
417 passed to roundup-server. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
418 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
419 Docker-compose Deployment |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
420 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
421 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
422 If you want to run using the mysql backend, you can use docker-compose |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
423 with ``scripts/Docker/docker-compose.yml``. This will run Roundup and |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
424 MySQL in containers. Directions for building using docker-compose are |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
425 at the top of the yml file. |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
426 |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
427 Configuring your first tracker |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
428 ------------------------------ |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
429 |
|
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
430 1. To create a Roundup tracker (necessary to do before you can |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
431 use the software in any real fashion), you need to set up a "tracker |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
432 home": |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
433 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
434 a. (Optional) If you intend to keep your roundup trackers |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
435 under one top level directory which does not exist yet, |
| 1228 | 436 you should create that directory now. Example:: |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
437 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
438 mkdir /opt/roundup/trackers |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
439 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
440 b. Either add the Roundup script location to your ``PATH`` |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
441 environment variable or specify the full path to |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
442 the command in the next step. |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
443 |
|
6174
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
444 .. index:: roundup-admin; install subcommand |
|
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
445 |
| 1228 | 446 c. Install a new tracker with the command ``roundup-admin install``. |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
447 You will be asked a series of questions. Descriptions of the provided |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
448 templates can be found in `choosing your template`_ below. Descriptions |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
449 of the available backends can be found in `choosing your backend`_ |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
450 below. The questions will be something like (you may have more |
| 1228 | 451 templates or backends available):: |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
452 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
453 Enter tracker home: /opt/roundup/trackers/support |
|
6766
c27fc7f499c7
Update install with all current templates and mandatory backends.
John Rouillard <rouilj@ieee.org>
parents:
6739
diff
changeset
|
454 Templates: minimal, jinja2, classic, responsive, devel |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
455 Select template [classic]: classic |
|
6766
c27fc7f499c7
Update install with all current templates and mandatory backends.
John Rouillard <rouilj@ieee.org>
parents:
6739
diff
changeset
|
456 Back ends: anydbm, sqlite |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
457 Select backend [anydbm]: anydbm |
|
738
7e093cbaaa98
split instance initialisation into two steps...
Richard Jones <richard@users.sourceforge.net>
parents:
729
diff
changeset
|
458 |
|
2818
2317e43609cb
remove bsddb; suggest using sqlite better than metakit
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2742
diff
changeset
|
459 Note: "Back ends" selection list depends on availability of |
|
2317e43609cb
remove bsddb; suggest using sqlite better than metakit
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2742
diff
changeset
|
460 third-party database modules. Standard python distribution |
|
6766
c27fc7f499c7
Update install with all current templates and mandatory backends.
John Rouillard <rouilj@ieee.org>
parents:
6739
diff
changeset
|
461 includes anydbm and sqlite module only. |
|
2818
2317e43609cb
remove bsddb; suggest using sqlite better than metakit
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2742
diff
changeset
|
462 |
| 7303 | 463 The "support" part of the tracker home can be anything you want - it |
| 464 is the directory where the tracker information will be stored. | |
|
1571
8b5ff6ca0674
more doc fixes
Richard Jones <richard@users.sourceforge.net>
parents:
1560
diff
changeset
|
465 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
466 You will now be directed to edit the tracker configuration and |
| 7303 | 467 initial schema. At a minimum, you must set "tracker :: web" |
| 468 (that's the "web" option in the "tracker" section), | |
|
6989
b5f8b85351a9
clarify required config.ini installation changes vs optional.
John Rouillard <rouilj@ieee.org>
parents:
6988
diff
changeset
|
469 "mail :: host", and "mail :: domain". You should also |
| 7303 | 470 set "main :: admin_email" to your local admin address to get email |
|
6989
b5f8b85351a9
clarify required config.ini installation changes vs optional.
John Rouillard <rouilj@ieee.org>
parents:
6988
diff
changeset
|
471 on unusual occurances. If you get stuck, |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
472 and get configuration file errors, then see the `tracker |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
473 configuration`_ section of the `customisation documentation`_. |
|
1245
d8c98af869ff
merge from maint-0-5
Richard Jones <richard@users.sourceforge.net>
parents:
1244
diff
changeset
|
474 |
|
1574
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
475 If you just want to get set up to test things quickly (and follow |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
476 the instructions in step 3 below), you can even just set the |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
477 "tracker :: web" variable to:: |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
478 |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
479 web = http://localhost:8080/support/ |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
480 |
|
1310
ff7b08d9ceb5
more URL trailing-/ requirements
Richard Jones <richard@users.sourceforge.net>
parents:
1300
diff
changeset
|
481 The URL *must* end in a '/', or your web interface *will not work*. |
|
ff7b08d9ceb5
more URL trailing-/ requirements
Richard Jones <richard@users.sourceforge.net>
parents:
1300
diff
changeset
|
482 See `Customising Roundup`_ for details on configuration and schema |
| 2409 | 483 changes. You may change any of the configuration after |
|
1310
ff7b08d9ceb5
more URL trailing-/ requirements
Richard Jones <richard@users.sourceforge.net>
parents:
1300
diff
changeset
|
484 you've initialised the tracker - it's just better to have valid values |
|
ff7b08d9ceb5
more URL trailing-/ requirements
Richard Jones <richard@users.sourceforge.net>
parents:
1300
diff
changeset
|
485 for this stuff now. |
|
738
7e093cbaaa98
split instance initialisation into two steps...
Richard Jones <richard@users.sourceforge.net>
parents:
729
diff
changeset
|
486 |
|
6174
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
487 .. index:: roundup-admin; initialise subcommand |
|
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
488 |
| 1228 | 489 d. Initialise the tracker database with ``roundup-admin initialise``. |
| 490 You will need to supply an admin password at this step. You will be | |
| 491 prompted:: | |
|
738
7e093cbaaa98
split instance initialisation into two steps...
Richard Jones <richard@users.sourceforge.net>
parents:
729
diff
changeset
|
492 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
493 Admin Password: |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
494 Confirm: |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
495 |
| 2401 | 496 Note: running this command will *destroy any existing data in the |
| 4355 | 497 database*. In the case of MySQL and PostgreSQL, any existing database |
| 2401 | 498 will be dropped and re-created. |
| 499 | |
|
4792
1a0cf0345465
issue2550789 document how to initialize a tracker without exposing the admin password
John Rouillard <rouilj@ieee.org>
parents:
4688
diff
changeset
|
500 Once this is done, the tracker has been created. See the note in |
|
1a0cf0345465
issue2550789 document how to initialize a tracker without exposing the admin password
John Rouillard <rouilj@ieee.org>
parents:
4688
diff
changeset
|
501 the user_guide on how to initialise a tracker without being |
|
1a0cf0345465
issue2550789 document how to initialize a tracker without exposing the admin password
John Rouillard <rouilj@ieee.org>
parents:
4688
diff
changeset
|
502 prompted for the password or exposing the password on the command |
|
1a0cf0345465
issue2550789 document how to initialize a tracker without exposing the admin password
John Rouillard <rouilj@ieee.org>
parents:
4688
diff
changeset
|
503 line. |
|
738
7e093cbaaa98
split instance initialisation into two steps...
Richard Jones <richard@users.sourceforge.net>
parents:
729
diff
changeset
|
504 |
|
1590
198dbefc1d5a
more installation doc cleanups
Richard Jones <richard@users.sourceforge.net>
parents:
1588
diff
changeset
|
505 2. At this point, your tracker is set up, but doesn't have a nice user |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
506 interface. To set that up, we need to `configure a web interface`_ and |
|
1316
dd43853684d4
don't undersell the roundup-server
Richard Jones <richard@users.sourceforge.net>
parents:
1310
diff
changeset
|
507 optionally `configure an email interface`_. If you want to try your |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
508 new tracker out, assuming "tracker :: web" is set to |
|
1316
dd43853684d4
don't undersell the roundup-server
Richard Jones <richard@users.sourceforge.net>
parents:
1310
diff
changeset
|
509 ``'http://localhost:8080/support/'``, run:: |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
510 |
|
1574
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
511 roundup-server support=/opt/roundup/trackers/support |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
512 |
|
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
513 then direct your web browser at: |
|
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
514 |
|
1845
3c6dd167a744
Fix typo in server address [SF#822967].
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents:
1839
diff
changeset
|
515 http://localhost:8080/support/ |
|
1244
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
516 |
|
8dd4f736370b
merge from maintenance branch
Richard Jones <richard@users.sourceforge.net>
parents:
1240
diff
changeset
|
517 and you should see the tracker interface. |
| 1049 | 518 |
|
5138
c54720396f40
issue2550882. Reported by Karl-Philipp Richter. Fixed
John Rouillard <rouilj@ieee.org>
parents:
5108
diff
changeset
|
519 To run your tracker on some interface other than 127.0.0.1 and port |
| 7303 | 520 8080 (make sure you change the "tracker :: web" option to match) use:: |
| 1049 | 521 |
|
5138
c54720396f40
issue2550882. Reported by Karl-Philipp Richter. Fixed
John Rouillard <rouilj@ieee.org>
parents:
5108
diff
changeset
|
522 roundup-server -p 1080 -n 0.0.0.0 support=/opt/roundup/trackers/support |
|
c54720396f40
issue2550882. Reported by Karl-Philipp Richter. Fixed
John Rouillard <rouilj@ieee.org>
parents:
5108
diff
changeset
|
523 |
|
c54720396f40
issue2550882. Reported by Karl-Philipp Richter. Fixed
John Rouillard <rouilj@ieee.org>
parents:
5108
diff
changeset
|
524 to run the server at port 1080 and bind to all ip addresses on your system. |
| 7303 | 525 Then direct your web browser to ``http://your_host_name:1080/support/``. |
|
5321
4566360871dc
Raises python requirement to 2.7.
Bernhard Reiter <bernhard@intevation.de>
parents:
5300
diff
changeset
|
526 |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
527 Choosing Your Template |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
528 ---------------------- |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
529 |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
530 Classic Template |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
531 ~~~~~~~~~~~~~~~~ |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
532 |
|
7302
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
533 The classic template is the one defined in the `Roundup |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
534 Specification`_. It holds issues which have priorities and |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
535 statuses. Each issue may also have a set of messages which are |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
536 disseminated to the issue's list of nosy users. |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
537 |
|
1227
92d8e1aad2e9
added mention of the new "minimal" template...
Richard Jones <richard@users.sourceforge.net>
parents:
1221
diff
changeset
|
538 Minimal Template |
|
92d8e1aad2e9
added mention of the new "minimal" template...
Richard Jones <richard@users.sourceforge.net>
parents:
1221
diff
changeset
|
539 ~~~~~~~~~~~~~~~~ |
|
92d8e1aad2e9
added mention of the new "minimal" template...
Richard Jones <richard@users.sourceforge.net>
parents:
1221
diff
changeset
|
540 |
|
92d8e1aad2e9
added mention of the new "minimal" template...
Richard Jones <richard@users.sourceforge.net>
parents:
1221
diff
changeset
|
541 The minimal template has the minimum setup required for a tracker |
|
7302
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
542 installation. That is, it has the configuration files, defines a user |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
543 database and the basic HTML interface to that. It's a completely clean |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
544 slate for you to create your tracker on. |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
545 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
546 Other Templates |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
547 ~~~~~~~~~~~~~~~ |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
548 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
549 There are three other templates distributed with Roundup: |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
550 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
551 responsive |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
552 This issue tracker uses the same schema as devel. The difference |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
553 between devel and responsive templates is the use of Twitter |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
554 bootstrap (https://github.com/twbs/bootstrap) in templates and |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
555 HTML5 markup. Make sure the "static_files" setting in your |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
556 config.ini of your instance is set to the directory where the |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
557 static files live (the subdirectory "static" in the default of the |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
558 template). |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
559 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
560 devel |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
561 This is a generic issue tracker that may be used to track bugs, |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
562 feature requests, project issues or any number of other types of |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
563 issues. Most users of Roundup will find that this template suits |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
564 them, with perhaps a few customisations. |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
565 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
566 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
567 jinja2 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
568 This is a generic issue tracker based on classic schema. It uses |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
569 Jinja2 for templating and Twitter bootstrap for responsive markup. |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
570 You will need jinja and gettext for this to work. See the wiki |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
571 page https://wiki.roundup-tracker.org/Jinja2 for updates |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
572 between releases. |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
573 |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
574 Also other people have listed their trackers for different needs at: |
|
d2633821fe07
update doc on supplied templates
John Rouillard <rouilj@ieee.org>
parents:
7301
diff
changeset
|
575 https://wiki.roundup-tracker.org/TrackerTemplates. |
|
1227
92d8e1aad2e9
added mention of the new "minimal" template...
Richard Jones <richard@users.sourceforge.net>
parents:
1221
diff
changeset
|
576 |
| 6163 | 577 .. index:: database; choosing your backend |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
578 |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
579 Choosing Your Backend |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
580 --------------------- |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
581 |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
582 The actual storage of Roundup tracker information is handled by backends. |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
583 There's several to choose from, each with benefits and limitations: |
|
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
584 |
|
2179
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
585 ========== =========== ===== ============================== |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
586 Name Speed Users Support |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
587 ========== =========== ===== ============================== |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
588 anydbm Slowest Few Always available |
|
3729
60d3865b3cb6
grammar R us
Richard Jones <richard@users.sourceforge.net>
parents:
3728
diff
changeset
|
589 sqlite Fastest(*) Few May need install (PySQLite_) |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
590 postgresql Fast Many Needs install/admin (psycopg2_) |
|
2179
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
591 mysql Fast Many Needs install/admin (MySQLdb_) |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
592 ========== =========== ===== ============================== |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
593 |
|
3728
b476fef16ccc
fixed support for pysqlite2 (version 2.1.0 is the minimum version supported)
Richard Jones <richard@users.sourceforge.net>
parents:
3722
diff
changeset
|
594 **sqlite** |
|
3935
1dab48842cbd
Throwing up hands in resignation and finally deleting the metakit backend.
Richard Jones <richard@users.sourceforge.net>
parents:
3922
diff
changeset
|
595 This uses the embedded database engine PySQLite_ to provide a very fast |
|
1dab48842cbd
Throwing up hands in resignation and finally deleting the metakit backend.
Richard Jones <richard@users.sourceforge.net>
parents:
3922
diff
changeset
|
596 backend. This is not suitable for trackers which will have many |
|
1dab48842cbd
Throwing up hands in resignation and finally deleting the metakit backend.
Richard Jones <richard@users.sourceforge.net>
parents:
3922
diff
changeset
|
597 simultaneous users, but requires much less installation and maintenance |
|
1dab48842cbd
Throwing up hands in resignation and finally deleting the metakit backend.
Richard Jones <richard@users.sourceforge.net>
parents:
3922
diff
changeset
|
598 effort than more scalable postgresql and mysql backends. |
|
3728
b476fef16ccc
fixed support for pysqlite2 (version 2.1.0 is the minimum version supported)
Richard Jones <richard@users.sourceforge.net>
parents:
3722
diff
changeset
|
599 |
|
b476fef16ccc
fixed support for pysqlite2 (version 2.1.0 is the minimum version supported)
Richard Jones <richard@users.sourceforge.net>
parents:
3722
diff
changeset
|
600 SQLite is supported via PySQLite versions 1.1.7, 2.1.0 and sqlite3 (the last |
|
b476fef16ccc
fixed support for pysqlite2 (version 2.1.0 is the minimum version supported)
Richard Jones <richard@users.sourceforge.net>
parents:
3722
diff
changeset
|
601 being bundled with Python 2.5+) |
|
3794
f5ddd1639a15
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3754
diff
changeset
|
602 |
|
f5ddd1639a15
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3754
diff
changeset
|
603 Installed SQLite should be the latest version available (3.3.8 is known |
|
f5ddd1639a15
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3754
diff
changeset
|
604 to work, 3.1.3 is known to have problems). |
|
6588
91ab3e0ffcd0
Summary: Add test cases for sqlite fts
John Rouillard <rouilj@ieee.org>
parents:
6586
diff
changeset
|
605 |
|
91ab3e0ffcd0
Summary: Add test cases for sqlite fts
John Rouillard <rouilj@ieee.org>
parents:
6586
diff
changeset
|
606 Roundup supports using sqlite's full text search capability. This |
|
91ab3e0ffcd0
Summary: Add test cases for sqlite fts
John Rouillard <rouilj@ieee.org>
parents:
6586
diff
changeset
|
607 can improve searching if you are not installing another indexer like |
|
91ab3e0ffcd0
Summary: Add test cases for sqlite fts
John Rouillard <rouilj@ieee.org>
parents:
6586
diff
changeset
|
608 xapian or whoosh. It works best with English text. |
|
2179
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
609 **postgresql** |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
610 Backend for popular RDBMS PostgreSQL. You must read |
|
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
611 `doc/postgresql.txt`_ for additional installation steps and |
|
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
612 requirements. You must also configure |
|
3666
8304a1c1cc98
encourage use of latest psycopg
Richard Jones <richard@users.sourceforge.net>
parents:
3647
diff
changeset
|
613 the ``rdbms`` section of your tracker's ``config.ini``. It is recommended |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
614 that you use at least version 2.8 of psycopg2. |
|
1507
3481507d6098
Advertising mysql
Andrey Lebedev <kedder@users.sourceforge.net>
parents:
1317
diff
changeset
|
615 **mysql** |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
616 Backend for popular RDBMS MySQL. You must read `doc/mysql.txt`_ for |
|
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
617 additional installation steps and requirements. You must also |
|
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
618 configure the ``rdbms`` section of your tracker's ``config.ini`` |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
619 |
|
2179
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
620 You may defer your decision by setting your tracker up with the anydbm |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
621 backend (which is guaranteed to be available) and switching to one of the |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
622 other backends at any time using the instructions in the `administration |
|
5aa74f9879ac
rework the backend selection bit
Richard Jones <richard@users.sourceforge.net>
parents:
2161
diff
changeset
|
623 guide`_. |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
624 |
| 2401 | 625 Regardless of which backend you choose, Roundup will attempt to initialise |
|
6174
5522c950a2e4
Add indexing for roundup-admin references.
John Rouillard <rouilj@ieee.org>
parents:
6168
diff
changeset
|
626 a new database for you when you run the "``roundup-admin initialise``" command. |
| 2401 | 627 In the case of MySQL and PostgreSQL you will need to have the appropriate |
| 628 privileges to create databases. | |
| 629 | |
|
1221
778297033003
cleanup of install docco
Richard Jones <richard@users.sourceforge.net>
parents:
1218
diff
changeset
|
630 |
| 1228 | 631 Configure a Web Interface |
| 632 ------------------------- | |
| 633 | |
|
7310
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
634 There are multiple ways to deploy the web interface. If your |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
635 tracker will be heavily used and accessible from the internet, we |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
636 suggest using Apache or Nginx in WSGI mode or as a reverse proxy |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
637 to the stand alone web server or WSGI server like gunicorn. |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
638 |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
639 A FastCGI deployment with an alternate web server is suitable for |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
640 lower traffic sites. |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
641 |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
642 If you already run Zope, Roundup should deploy nicely in that |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
643 framework. |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
644 |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
645 If you are internet accessible, but expect a few users, or are on |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
646 a hosted web server, using cgi-bin is a reasonable deployment. |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
647 |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
648 Using a true HTTP server provide tools including: DOS prevention, |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
649 throttling, web application firewalls etc. that are worth having |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
650 in an internet facing application. |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
651 |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
652 If you are running on an internal intranet, you can use the |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
653 stand alone server: roundup-server, but even in this environment, |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
654 using a real web server to serve static files and other resources |
|
ac6403bfcb1f
add guidance onchoosing web deployment method
John Rouillard <rouilj@ieee.org>
parents:
7303
diff
changeset
|
655 will perform better. |
| 1228 | 656 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
657 .. contents:: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
658 :depth: 1 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
659 :local: |
| 1228 | 660 |
| 661 You may need to give the web server user permission to access the tracker home | |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
662 - see the `UNIX environment steps`_ for information. You may also need to |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
663 configure your system in some way - see `platform-specific notes`_. |
| 1228 | 664 |
| 6163 | 665 .. index:: pair: web interface; cgi |
| 1228 | 666 |
| 667 Web Server cgi-bin | |
| 668 ~~~~~~~~~~~~~~~~~~ | |
| 669 | |
| 670 A benefit of using the cgi-bin approach is that it's the easiest way to | |
| 671 restrict access to your tracker to only use HTTPS. Access will be slower | |
| 672 than through the `stand-alone web server`_ though. | |
| 673 | |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
674 If your Python isn't installed as "python" then you'll need to edit |
|
1748
0f2678eeeac6
cgi-bin install note
Richard Jones <richard@users.sourceforge.net>
parents:
1747
diff
changeset
|
675 the ``roundup.cgi`` script to fix the first line. |
|
0f2678eeeac6
cgi-bin install note
Richard Jones <richard@users.sourceforge.net>
parents:
1747
diff
changeset
|
676 |
|
1540
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
677 If you're using IIS on a Windows platform, you'll need to run this command |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
678 for the cgi to work (it turns on the PATH_INFO cgi variable):: |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
679 |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
680 adsutil.vbs set w3svc/AllowPathInfoForScriptMappings TRUE |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
681 |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
682 The ``adsutil.vbs`` file can be found in either ``c:\inetpub\adminscripts`` |
|
1540
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
683 or ``c:\winnt\system32\inetsrv\adminsamples\`` or |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
684 ``c:\winnt\system32\inetsrv\adminscripts\`` depending on your installation. |
|
3e65577ad6d7
minor changes
Richard Jones <richard@users.sourceforge.net>
parents:
1528
diff
changeset
|
685 |
|
6370
45e8d10a9609
Update links in documentation
John Rouillard <rouilj@ieee.org>
parents:
6297
diff
changeset
|
686 See: |
|
45e8d10a9609
Update links in documentation
John Rouillard <rouilj@ieee.org>
parents:
6297
diff
changeset
|
687 |
| 7136 | 688 https://learn.microsoft.com/en-us/iis/web-dev-reference/server-variables |
|
6370
45e8d10a9609
Update links in documentation
John Rouillard <rouilj@ieee.org>
parents:
6297
diff
changeset
|
689 |
|
2988
f4023f1cc1d6
apply IE caching "fix" to automatically serve up all pages expired
Richard Jones <richard@users.sourceforge.net>
parents:
2979
diff
changeset
|
690 More information about ISS setup may be found at: |
|
f4023f1cc1d6
apply IE caching "fix" to automatically serve up all pages expired
Richard Jones <richard@users.sourceforge.net>
parents:
2979
diff
changeset
|
691 |
|
6370
45e8d10a9609
Update links in documentation
John Rouillard <rouilj@ieee.org>
parents:
6297
diff
changeset
|
692 https://docs.microsoft.com/en-us/iis/ |
|
2988
f4023f1cc1d6
apply IE caching "fix" to automatically serve up all pages expired
Richard Jones <richard@users.sourceforge.net>
parents:
2979
diff
changeset
|
693 |
|
7311
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
694 Copy the ``share/roundup/cgi-bin/roundup-cgi`` |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
695 (``frontends/roundup.cgi`` in source tree) file to your web |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
696 server's ``cgi-bin`` directory. You will need to configure it to |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
697 tell it where your tracker home is. You can do this either: |
| 1228 | 698 |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
699 Through an environment variable |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
700 Set the variable TRACKER_HOMES to be a colon (":") separated list of |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
701 name=home pairs (if you're using apache, the SetEnv directive can do this) |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
702 |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
703 Directly in the ``roundup.cgi`` file itself |
|
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
704 Add your instance to the TRACKER_HOMES variable as ``'name': 'home'`` |
| 1228 | 705 |
| 706 The "name" part of the configuration will appear in the URL and identifies the | |
| 707 tracker (so you may have more than one tracker per cgi-bin script). Make sure | |
| 708 there are no spaces or other illegal characters in it (to be safe, stick to | |
| 709 letters and numbers). The "name" forms part of the URL that appears in the | |
|
3303
520eef0e0e91
fix installation docs referring to old-style configuration variables
Richard Jones <richard@users.sourceforge.net>
parents:
3297
diff
changeset
|
710 tracker config "tracker :: web" variable, so make sure they match. The "home" |
| 1228 | 711 part of the configuration is the tracker home directory. |
| 712 | |
|
2665
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
713 If you're using Apache, you can use an additional trick to hide the |
|
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
714 ``.cgi`` extension of the cgi script. Place the ``roundup.cgi`` script |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
715 wherever you want it to be, rename it to just ``roundup``, and add a |
|
2665
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
716 couple lines to your Apache configuration:: |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
717 |
|
2665
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
718 <Location /path/to/roundup> |
|
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
719 SetHandler cgi-script |
|
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
720 </Location> |
|
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
721 |
|
7d6dda802ca0
cgi install tip
Richard Jones <richard@users.sourceforge.net>
parents:
2594
diff
changeset
|
722 |
|
4324
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
723 CGI-bin for Limited-Access Hosting |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
724 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
725 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
726 If you are running in a shared-hosting environment or otherwise don't have |
|
4656
bce631d8f24d
issue2550738: Fixes for various documentation typos, thanks Nathan Russell
John Kristensen <john@jerrykan.com>
parents:
4510
diff
changeset
|
727 permission to edit the system web server's configuration, but can create a |
|
4324
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
728 ``.htaccess`` file then you may be able to use this approach. |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
729 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
730 1. Install flup_ |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
731 2. Create a script ``roundup_stub`` in your server's ``cgi-bin`` directory |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
732 containing:: |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
733 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
734 #!/usr/bin/env python |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
735 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
736 # if necessary modify the Python path to include the place you |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
737 # installed Roundup |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
738 #import sys |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
739 #sys.path.append('...') |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
740 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
741 # cgitb is needed for debugging in browser only |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
742 #import cgitb |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
743 #cgitb.enable() |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
744 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
745 # obtain the WSGI request dispatcher |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
746 from roundup.cgi.wsgi_handler import RequestDispatcher |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
747 tracker_home = '/path/to/tracker/home' |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
748 app = RequestDispatcher(tracker_home) |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
749 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
750 from flup.server.cgi import WSGIServer |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
751 WSGIServer(app).run() |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
752 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
753 3. Modify or created the ``.htaccess`` file in the desired (sub-)domain |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
754 directory to contain:: |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
755 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
756 RewriteEngine On |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
757 RewriteBase / |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
758 RewriteRule ^(.*)$ /cgi-bin/roundup_stub/$1 [L] |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
759 |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
760 Now loading the (sub-)domain in a browser should load the tracker web |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
761 interface. If you get a "500" error then enable the "cgitb" lines in the |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
762 stub to get some debugging information. |
|
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
763 |
| 6163 | 764 .. index:: pair: web interface; stand alone server |
|
4324
c70762f2be4e
flup setup docs from Christian Glass
Richard Jones <richard@users.sourceforge.net>
parents:
4317
diff
changeset
|
765 |
| 1228 | 766 Stand-alone Web Server |
| 767 ~~~~~~~~~~~~~~~~~~~~~~ | |
| 768 | |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
769 This approach will give you faster response than cgi-bin. You may |
| 1228 | 770 investigate using ProxyPass or similar configuration in apache to have your |
| 771 tracker accessed through the same URL as other systems. | |
| 772 | |
| 773 The stand-alone web server is started with the command ``roundup-server``. It | |
| 774 has several options - display them with ``roundup-server -h``. | |
| 775 | |
| 776 The tracker home configuration is similar to the cgi-bin - you may either edit | |
| 777 the script to change the TRACKER_HOMES variable or you may supply the | |
| 778 name=home values on the command-line after all the other options. | |
| 779 | |
| 780 To make the server run in the background, use the "-d" option, specifying the | |
| 781 name of a file to write the server process id (pid) to. | |
| 782 | |
| 783 | |
| 6163 | 784 .. index:: pair: web interface; Zope |
| 785 | |
| 1228 | 786 Zope Product - ZRoundup |
| 787 ~~~~~~~~~~~~~~~~~~~~~~~ | |
| 788 | |
|
7311
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
789 ZRoundup installs as a regular Zope product. Copy the |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
790 ``share/roundup/frontends/ZRoundup`` (frontends/ZRoundup in the |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
791 source tree) directory to your Products directory either in |
|
4bbd1316db00
document location of frontends when installed and in source
John Rouillard <rouilj@ieee.org>
parents:
7310
diff
changeset
|
792 INSTANCE_HOME/Products or the Zope code tree lib/python/Products. |
| 1228 | 793 |
| 794 When you next (re)start up Zope, you will be able to add a ZRoundup object | |
| 795 that interfaces to your new tracker. | |
| 796 | |
| 6163 | 797 .. index:: ! triple: web interface; apache; mod_wsgi |
| 798 ! single: wsgi; apache | |
| 799 | |
|
5891
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
800 Apache HTTP Server with mod_wsgi |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
801 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
802 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
803 This is a work in progress thanks to Garth Jensen. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
804 |
|
5909
d57347ae6f25
Typo fixes in installation.txt doc.
John Rouillard <rouilj@ieee.org>
parents:
5908
diff
changeset
|
805 See the main web site for `mod_wsgi`_ which include directions for |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
806 using mod_wsgi-express which is easier if you are not used to apache |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
807 configuration. Also there is the |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
808 `main mod_wsgi <https://modwsgi.readthedocs.io/en/develop/>`_ for more |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
809 detailed directions. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
810 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
811 Background |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
812 ^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
813 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
814 These notes were developed on a Microsoft Azure VM running Ubuntu |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
815 18.04 LTS. The instructions below assume: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
816 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
817 - python and roundup are already installed |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
818 - roundup is running in the system python instance (e.g. no virtual |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
819 environment) |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
820 - the tracker ``mytracker`` is installed in the ``trackers`` folder of |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
821 home directory of a user called ``admin``. Thus, the absolute path to |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
822 the tracker home directory is ``/home/admin/trackers/mytracker``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
823 - the server has a static public IP address of 11.11.11.101 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
824 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
825 Install mod-wsgi |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
826 ^^^^^^^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
827 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
828 You can install/build it using the python package manager pip, or |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
829 install using the OS package manager (apt). |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
830 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
831 Pip install of mod_wsgi |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
832 ''''''''''''''''''''''' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
833 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
834 This is the tested method, and offers an easier path to get started, |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
835 but it does mean that you will need to keep up to date with any |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
836 security or other issues. If you use the packages supplied by your OS |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
837 vendor, you may get more timely updates and notifications. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
838 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
839 The mod_wsgi docs talk about two installation methods: (1) the |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
840 so-called CMMI method or (2) with pip. The pip method also provides an |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
841 admin script called ``mod_wsgi-express`` that can start up a |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
842 standalone instance of Apache directly from the command line with an |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
843 auto generated configuration. These instructions follow the pip |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
844 method. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
845 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
846 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
847 1. The `mod_wsgi`_ PyPi page lists prerequisites for various types of |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
848 systems. For Ubuntu, they are apache2 and apache2-dev. To see |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
849 installed apache packages, you can use ``dpkg -l | grep apache``. |
|
5909
d57347ae6f25
Typo fixes in installation.txt doc.
John Rouillard <rouilj@ieee.org>
parents:
5908
diff
changeset
|
850 If apache2 or apache2-dev are not installed, they install them |
|
d57347ae6f25
Typo fixes in installation.txt doc.
John Rouillard <rouilj@ieee.org>
parents:
5908
diff
changeset
|
851 with: |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
852 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
853 - ``sudo apt update`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
854 - ``sudo apt install apache2 apache2-dev`` |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
855 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
856 2. If ``pip`` is not already installed, install it with |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
857 ``sudo apt install python-pip`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
858 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
859 If you are using python 3, use ``sudo apt-install python3-pip`` and |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
860 change references to pip in the directions to pip3. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
861 3. ``sudo pip install mod_wsgi``. In my case, I got warnings about |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
862 the user not owning directories, but it said it completed |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
863 "successfully." |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
864 4. For testing, open port 8000 for TCP on the server. For an Azure VM, |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
865 this is done with Azure Portal under ``Networking`` > ``Add inbound port`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
866 rule. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
867 5. Test with ``mod_wsgi-express start-server``. This should serve |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
868 up content on localhost port 8000. You can then direct a browser on |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
869 the server itself to http://localhost:8000/ or on another machine at |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
870 the server's domain name or ip address followed by colon then 8000 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
871 (e.g. http://11.11.11.101:8000/). If successful, you should see a |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
872 Malt Whiskey image. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
873 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
874 Package manager install of mod_wsgi |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
875 ''''''''''''''''''''''''''''''''''' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
876 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
877 On debian (which should work for Ubuntu), install apache2 with |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
878 libapache2-mod-wsgi: |
|
5891
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
879 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
880 - ``sudo apt update`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
881 - ``sudo apt install apache2 libapache2-mod-wsgi`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
882 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
883 this is the less tested method for installing mod_wsgi and may not |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
884 install mod_wsgi-express, which is used below. However there is an |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
885 example apache config included as part of `WSGI Variations`_ that can |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
886 be used to hand craft an apache config. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
887 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
888 You should make sure that the version you install is 3.5 or newer due |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
889 to security issues in older releases. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
890 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
891 Configure web interface via wsgi_handler |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
892 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
893 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
894 1. In the tracker's home directory create a ``wsgi.py`` file with the |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
895 following content (substituting ``/home/admin/trackers/mytracker`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
896 with the absolute path for your tracker's home directory): |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
897 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
898 .. code:: python |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
899 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
900 from roundup.cgi.wsgi_handler import RequestDispatcher |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
901 tracker_home = '/home/admin/trackers/mytracker' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
902 application = RequestDispatcher(tracker_home) |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
903 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
904 To run the tracker on Port 8000 as a foreground process |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
905 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
906 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
907 1. Change the ``tracker.web`` url in ``config.ini`` to port 8000 at the |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
908 server domain name or ip address (e.g. http://11.11.11.101:8000/). |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
909 2. Open port 8000 for TCP on the server if you didn't already do so. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
910 3. ``cd`` to your tracker home directory, then run |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
911 ``mod_wsgi-express start-server wsgi.py``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
912 4. Test by directing a browser on another machine to the url you set |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
913 ``tracker.web`` to in ``config.ini``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
914 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
915 Run tracker as background daemon |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
916 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
917 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
918 To run the tracker on Port 80 or as a background process, you'll need |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
919 to configure a UNIX group with appropriate privileges as described in |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
920 `UNIX environment steps`_. These steps are summarized here: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
921 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
922 1. To add a group named "mytrackergrp" run: ``sudo groupadd mytrackergrp``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
923 2. Add the owner of the tracker home (admin in this example) run: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
924 ``sudo usermod -a -G mytrackergrp admin`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
925 3. Add user that runs Apache (the default on Ubuntu is www-data) run: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
926 ``sudo usermod -a -G mytrackergrp www-data`` |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
927 4. Add user mail service runs as (e.g. daemon) run: |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
928 ``sudo usermod -a -G mytrackergrp daemon`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
929 5. Change group of the database in the tracker folder run: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
930 ``sudo chgrp -R mytrackergrp ~/trackers/mytracker``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
931 6. Make sure group can write to the database, and any new files created |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
932 in the database will be owned by the group run: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
933 ``sudo chmod -R g+sw ~/trackers/mytracker/db`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
934 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
935 To run mod_wsgi on PORT 80 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
936 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
937 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
938 1. Change the ``tracker.web`` url in ``config.ini`` to the server url |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
939 with no port designator. E.g. http://11.11.11.101. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
940 2. Open port 80 on the server for TCP traffic if it isn't open already. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
941 3. Stop the system instance of Apache to make sure it isn't holding on |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
942 to port 80 run: ``sudo service apache2 stop``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
943 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
944 To run as a foreground process |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
945 '''''''''''''''''''''''''''''' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
946 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
947 1. From the tracker home directory, run |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
948 ``sudo mod_wsgi-express start-server wsgi.py --port 80 --user admin --group mytrackergrp`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
949 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
950 To run as a background process |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
951 '''''''''''''''''''''''''''''' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
952 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
953 1. From the tracker home directory, bash |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
954 ``sudo mod_wsgi-express setup-server wsgi.py --port=80 --user admin --group mytrackergrp --server-root=/etc/mod_wsgi-express-80`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
955 2. Then, run ``sudo /etc/mod_wsgi-express-80/apachectl start`` |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
956 3. To stop, run ``sudo /etc/mod_wsgi-express-80/apachectl stop`` |
|
5891
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
957 |
| 6163 | 958 .. index:: triple: web interface; apache; mod_python (depricated) |
| 959 | |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
960 Apache HTTP Server with mod_python |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
961 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
962 |
|
5891
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
963 As of roundup 2.0, mod_python support is deprecated. The apache.py |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
964 file is still available, but may be limited to working for Python 2 |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
965 only. Using mod_wsgi with Apache is the recommended way to deploy |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
966 roundup under apache. |
|
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
967 |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
968 `Mod_python`_ is an `Apache`_ module that embeds the Python interpreter |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
969 within the server. Running Roundup this way is much faster than all |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
970 above options and, like `web server cgi-bin`_, allows you to use HTTPS |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
971 protocol. The drawback is that this setup is more complicated. |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
972 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
973 The following instructions were tested on apache 2.0 with mod_python 3.1. |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
974 If you are using older versions, your mileage may vary. |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
975 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
976 Mod_python uses OS threads. If your apache was built without threads |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
977 (quite commonly), you must load the threading library to run mod_python. |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
978 This is done by setting ``LD_PRELOAD`` to your threading library path |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
979 in apache ``envvars`` file. Example for gentoo linux (``envvars`` file |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
980 is located in ``/usr/lib/apache2/build/``):: |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
981 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
982 LD_PRELOAD=/lib/libpthread.so.0 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
983 export LD_PRELOAD |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
984 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
985 Example for FreeBSD (``envvars`` is in ``/usr/local/sbin/``):: |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
986 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
987 LD_PRELOAD=/usr/lib/libc_r.so |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
988 export LD_PRELOAD |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
989 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
990 Next, you have to add Roundup trackers configuration to apache config. |
|
4249
87b3e905ae2e
fixed typos in the installation instructions
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4226
diff
changeset
|
991 Roundup apache interface uses the following options specified with |
|
87b3e905ae2e
fixed typos in the installation instructions
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4226
diff
changeset
|
992 ``PythonOption`` directives: |
|
2559
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
993 |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
994 TrackerHome: |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
995 defines the tracker home directory - the directory that was specified |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
996 when you did ``roundup-admin init``. This option is required. |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
997 |
|
4249
87b3e905ae2e
fixed typos in the installation instructions
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4226
diff
changeset
|
998 TrackerLanguage: |
|
2559
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
999 defines web user interface language. mod_python applications do not |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1000 receive OS environment variables in the same way as command-line |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1001 programs, so the language cannot be selected by setting commonly |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1002 used variables like ``LANG`` or ``LC_ALL``. ``TrackerLanguage`` |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1003 value has the same syntax as values of these environment variables. |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1004 This option may be omitted. |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1005 |
|
2945
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1006 TrackerDebug: |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1007 run the tracker in debug mode. Setting this option to ``yes`` or |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1008 ``true`` has the same effect as running ``roundup-server -t debug``: |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1009 the database schema and used html templates are rebuilt for each |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1010 HTTP request. Values ``no`` or ``false`` mean that all html |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1011 templates for the tracker are compiled and the database schema is |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1012 checked once at startup. This is the default behaviour. |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1013 |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1014 TrackerTiming: |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1015 has nearly the same effect as environment variable ``CGI_SHOW_TIMING`` |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1016 for standalone roundup server. The difference is that setting this |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1017 option to ``no`` or ``false`` disables timings display. Value |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1018 ``comment`` writes request handling times in html comment, and |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1019 any other non-empty value makes timing report visible. By default, |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1020 timing display is disabled. |
|
98efa80f0f90
added mod_python options TrackerDebug and TrackerTiming
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
1021 |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1022 In the following example we have two trackers set up in |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1023 ``/var/db/roundup/support`` and ``/var/db/roundup/devel`` and accessed |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1024 as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/`` |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1025 respectively (provided Apache has been set up for SSL of course). |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1026 Having them share same parent directory allows us to |
|
2559
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1027 reduce the number of configuration directives. Support tracker has |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1028 russian user interface. The other tracker (devel) has english user |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1029 interface (default). |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1030 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1031 Static files from ``html`` directory are served by apache itself - this |
|
4249
87b3e905ae2e
fixed typos in the installation instructions
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4226
diff
changeset
|
1032 is quicker and generally more robust than doing that from python. |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1033 Everything else is aliased to dummy (non-existing) ``py`` file, |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1034 which is handled by mod_python and our roundup module. |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1035 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1036 Example mod_python configuration:: |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1037 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1038 ################################################# |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1039 # Roundup Issue tracker |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1040 ################################################# |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1041 # enable Python optimizations (like 'python -O') |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1042 PythonOptimize On |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1043 # let apache handle static files from 'html' directories |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1044 AliasMatch /roundup/(.+)/@@file/(.*) /var/db/roundup/$1/html/$2 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1045 # everything else is handled by roundup web UI |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1046 AliasMatch /roundup/([^/]+)/(?!@@file/)(.*) /var/db/roundup/$1/dummy.py/$2 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1047 # roundup requires a slash after tracker name - add it if missing |
|
3965
248c3a7bc94d
seems like a reasonable patch
Richard Jones <richard@users.sourceforge.net>
parents:
3949
diff
changeset
|
1048 RedirectMatch permanent ^/roundup/([^/]+)$ /roundup/$1/ |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1049 # common settings for all roundup trackers |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1050 <Directory /var/db/roundup/*> |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1051 Order allow,deny |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1052 Allow from all |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1053 AllowOverride None |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1054 Options None |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1055 AddHandler python-program .py |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1056 PythonHandler roundup.cgi.apache |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1057 # uncomment the following line to see tracebacks in the browser |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1058 # (note that *some* tracebacks will be displayed anyway) |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1059 #PythonDebug On |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1060 </Directory> |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1061 # roundup tracker homes |
|
2559
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1062 <Directory /var/db/roundup/support> |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1063 PythonOption TrackerHome /var/db/roundup/support |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1064 PythonOption TrackerLanguage ru |
|
6c096b4aea67
added description and example of mod_python interface option TrackerLanguage
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2554
diff
changeset
|
1065 </Directory> |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1066 <Directory /var/db/roundup/devel> |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1067 PythonOption TrackerHome /var/db/roundup/devel |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1068 </Directory> |
|
3965
248c3a7bc94d
seems like a reasonable patch
Richard Jones <richard@users.sourceforge.net>
parents:
3949
diff
changeset
|
1069 |
| 3814 | 1070 Notice that the ``/var/db/roundup`` path shown above refers to the directory |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1071 in which the tracker homes are stored. The actual value will thus depend on |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1072 your system. |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
1073 |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1074 On Windows the corresponding lines will look similar to these:: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1075 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1076 AliasMatch /roundup/(.+)/@@file/(.*) C:/DATA/roundup/$1/html/$2 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1077 AliasMatch /roundup/([^/]+)/(?!@@file/)(.*) C:/DATA/roundup/$1/dummy.py/$2 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1078 <Directory C:/DATA/roundup/*> |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1079 <Directory C:/DATA/roundup/support> |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1080 <Directory C:/DATA/roundup/devel> |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1081 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1082 In this example the directory hosting all of the tracker homes is |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
1083 ``C:\DATA\roundup``. (Notice that you must use forward slashes in paths |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1084 inside the httpd.conf file!) |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1085 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1086 The URL for accessing these trackers then become: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1087 `http://<roundupserver>/roundup/support/`` and |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1088 ``http://<roundupserver>/roundup/devel/`` |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1089 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1090 Note that in order to use https connections you must set up Apache for secure |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1091 serving with SSL. |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1092 |
|
6458
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1093 Nginx HTTP Server |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1094 ~~~~~~~~~~~~~~~~~ |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1095 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1096 This configuration uses gunicorn to run roundup behind an Nginx proxy. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1097 The proxy also compresses the data using gzip. The url for the tracker |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1098 in config.ini should be ``https://tracker.example.org``. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1099 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1100 .. code:: |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1101 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1102 user nginx; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1103 worker_processes auto; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1104 worker_rlimit_nofile 10000; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1105 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1106 error_log /var/log/nginx/global-error.log; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1107 pid /var/run/nginx.pid; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1108 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1109 events { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1110 worker_connections 1024; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1111 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1112 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1113 upstream tracker-tracker { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1114 # gunicorn uses this socket for communication |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1115 server unix:/var/run/roundup/tracker.sock fail_timeout=0; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1116 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1117 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1118 http { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1119 include /etc/nginx/mime.types; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1120 default_type application/octet-stream; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1121 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1122 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1123 '$status $body_bytes_sent "$http_referer" ' |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1124 '"$http_user_agent" "$http_x_forwarded_for"'; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1125 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1126 access_log /var/log/nginx/global-access.log main; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1127 sendfile on; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1128 tcp_nopush on; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1129 tcp_nodelay on; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1130 server_tokens off; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1131 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1132 gzip_http_version 1.1; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1133 gzip_proxied any; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1134 gzip_min_length 500; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1135 # default comp_level is 1 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1136 gzip_comp_level 6; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1137 gzip_disable msie6 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1138 gzip_types text/plain text/css |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1139 text/xml application/xml |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1140 text/javascript application/javascript |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1141 text/json application/json; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1142 # upstream proxies need to match Accept-Encoding as |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1143 # part of their cache check |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1144 gzip_vary on |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1145 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1146 server { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1147 listen 80; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1148 server_name tracker.example.org; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1149 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1150 location /.well-known/acme-challenge/ { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1151 alias /etc/lego/.well-known/acme-challenge/; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1152 try_files $uri =404; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1153 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1154 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1155 location / { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1156 return 301 https://$http_host$request_uri; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1157 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1158 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1159 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1160 server { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1161 listen 443 ssl; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1162 server_name tracker.example.org; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1163 include mime.types; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1164 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1165 # By default use the snakeoil certificate... |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1166 # change this if you are using a real SSL cert |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1167 ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1168 ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1169 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1170 # These are useful for @@files where roundup is bypassed. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1171 # but can be set by roundup as well. See: |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1172 # https://wiki.roundup-tracker.org/AddingContentSecurityPolicy |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1173 # which also sets other security headers. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1174 add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1175 add_header X-Frame-Options "sameorigin"; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1176 add_header X-Xss-Protection "1; mode=block"; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1177 add_header X-Content-Type-Options "nosniff"; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1178 add_header X-Permitted-Cross-Domain-Policies "none"; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1179 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1180 error_log /var/log/nginx/roundup-tracker.error.log; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1181 access_log /var/log/nginx/roundup-tracker.access.log |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1182 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1183 root /home/roundup/trackers/tracker/; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1184 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1185 # have nginx return files from @@file directly rather than |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1186 # going though roundup |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1187 location /@@file/ { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1188 rewrite ^/@@file/(.*) /html/$1 break; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1189 # note that you can not use cache control (see customizing doc) |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1190 # in roundup to set the expires headers since we are |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1191 # bypassing roundup. Consider using a map or different |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1192 # location stanzas to vary the expiration times. |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1193 expires 1h; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1194 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1195 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1196 location / { |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1197 # must define tracker-tracker in upstream stanza |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1198 proxy_pass http://tracker-tracker/; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1199 proxy_set_header Host $host; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1200 proxy_set_header X-Real-IP $remote_addr; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1201 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1202 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1203 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1204 } |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1205 |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1206 |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1207 FastCGI (Cherokee, Hiawatha, lighttpd) |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1208 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1209 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1210 The Hiawatha and lighttpd web servers can run Roundup using FastCGI. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1211 Cherokee can run FastCGI but it also supports wsgi directly using a |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1212 uWSGI, Gnuicorn etc. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1213 |
| 7124 | 1214 To run Roundup using FastCGI, the flup_ package can be used under |
|
6555
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1215 Python 2 and Python 3. We don't have a detailed config for this, but |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1216 the basic idea can be found at: |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1217 https://flask.palletsprojects.com/en/2.0.x/deploying/fastcgi/ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1218 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1219 If you have deployed Roundup using FastCGI and flup we welcome example |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1220 configuration files and instructions. |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1221 |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1222 .. _flup: https://pypi.org/project/flup/ |
|
34cbd0e633d2
Added FastCGI deployment info, updated Docker docs; docker-compose added
John Rouillard <rouilj@ieee.org>
parents:
6522
diff
changeset
|
1223 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1224 WSGI Variations |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1225 ~~~~~~~~~~~~~~~ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1226 |
| 6163 | 1227 .. index:: triple: web interface; apache; mod_wsgi |
| 1228 single: wsgi; apache | |
| 1229 | |
|
5938
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1230 Apache Alternate |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1231 ^^^^^^^^^^^^^^^^ |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1232 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1233 This method from Thomas Arendsen Hein goes into a bit more detail and |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1234 is designed to allow you to run multiple roundup trackers each under |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1235 their own user. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1236 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1237 The tracker instances are read-only to the tracker user and located |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1238 under /srv/roundup/. The (writable) data files are stored in the home |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1239 directory of the user running the tracker. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1240 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1241 To install roundup, download and unpack a distribution tarball and run |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1242 the following as user "roundup":: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1243 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1244 python setup.py build_doc |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1245 python setup.py sdist --manifest-only |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1246 python setup.py install --home="/home/roundup/install" --force |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1247 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1248 Create a user roundup-foo, group roundup-foo to run the tracker. Add |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1249 the following apache config to |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1250 /etc/apache2/sites-available/roundup-foo (under debian/Ubunutu, modify |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1251 as needed): |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1252 |
|
6653
7545d3a3a307
ci was throwing errors as it couldn't parse apache config file format as xml. change xml parser to ApacheConf parser as defined/supported by pygments
John Rouillard <rouilj@ieee.org>
parents:
6629
diff
changeset
|
1253 .. code:: ApacheConf |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1254 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1255 ServerAdmin webmaster@example.com |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1256 ErrorLog /var/log/apache2/error.log |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1257 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1258 LogLevel notice |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1259 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1260 DocumentRoot /var/www/ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1261 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1262 <VirtualHost *:80> |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1263 CustomLog /var/log/apache2/access.log vhost_combined |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1264 |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1265 # allow access to roundup docs |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1266 Alias /doc/ /home/roundup/install/share/doc/roundup/html/ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1267 |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1268 # make apache serve static assets like css rather than |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1269 # having roundup serve the files |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1270 Alias /foo/@@file/ /srv/roundup/foo/html/ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1271 |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1272 # make /foo into /foo/ |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1273 RedirectMatch permanent ^/(foo)$ /$1/ |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1274 |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1275 # start a wsgi daemon process running as user roundup-foo |
|
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1276 # in group roundup-foo. This also changes directory to |
|
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1277 # ~roundup-foo before it starts roundup.wsgi. |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1278 WSGIDaemonProcess roundup-foo display-name=roundup-foo user=roundup-foo group=roundup-foo threads=25 |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1279 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1280 # make tracker available at /foo and tie it into the |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1281 # wsgi script below. |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1282 WSGIScriptAlias /foo /srv/roundup/foo/roundup.wsgi |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1283 <Location /foo> |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1284 WSGIProcessGroup roundup-foo |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1285 </Location> |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1286 </VirtualHost> |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1287 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1288 The directory ~roundup-foo should have: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1289 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1290 * a ``db`` subdirectory where messages and files will be stored |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1291 * a symbolic link called ``instance`` to /srv/roundup/foo which has |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1292 been initialized using ``roundup-admin``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1293 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1294 The `Apache HTTP Server with mod_wsgi`_ section above has a simple |
|
5910
aec362e31fcd
doc/installation.txt: fix typo
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5909
diff
changeset
|
1295 WSGI handler. This is an enhanced version to be put into |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1296 ``/srv/roundup/foo/roundup.wsgi``. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1297 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1298 .. code:: python |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1299 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1300 import sys, os |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1301 sys.stdout = sys.stderr |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1302 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1303 enabled = True |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1304 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1305 if enabled: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1306 # Add the directory with the roundup installation |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1307 # subdirectory to the python path. |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1308 sys.path.insert(0, '/home/roundup/install/lib/python') |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1309 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1310 # obtain the WSGI request dispatcher |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1311 from roundup.cgi.wsgi_handler import RequestDispatcher |
|
5911
133efe1fbff7
doc/installation.txt: replace tabs, remove trailing spaces
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5910
diff
changeset
|
1312 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1313 tracker_home = os.path.join(os.getcwd(), 'instance') |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1314 application = RequestDispatcher(tracker_home) |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1315 else: |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1316 def application(environ, start_response): |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1317 status = '503 Service Unavailable' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1318 output = 'service is down for maintenance' |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1319 response_headers = [('Content-type', 'text/plain'), |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1320 ('Content-Length', str(len(output)))] |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1321 start_response(status, response_headers) |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1322 return [output] |
|
3736
a2d22d0de0bc
WSGI support via roundup.cgi.wsgi_handler
Richard Jones <richard@users.sourceforge.net>
parents:
3731
diff
changeset
|
1323 |
|
5908
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1324 This handler allows you to temporarily disable the tracker by setting |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1325 "enabled = False", apache will automatically detect the changed |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1326 roundup.wsgi file and reload it. |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1327 |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1328 One last change is needed. In the tracker's config.ini change the db |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1329 parameter in the [main] section to be /home/roundup-foo/db. This will |
|
c7ab00dd6502
First pass at updated wsgi documentation
John Rouillard <rouilj@ieee.org>
parents:
5891
diff
changeset
|
1330 put the files and messages in the db directory for the user. |
| 1228 | 1331 |
| 6163 | 1332 .. index:: pair: web interface; gunicorn |
| 1333 single: wsgi; gunicorn | |
| 1334 | |
|
5938
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1335 Gunicorn Installation |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1336 ^^^^^^^^^^^^^^^^^^^^^ |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1337 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1338 To run with gunicorn use pip to install gunicorn. This configuration |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1339 uses a front end web server like nginx, hiawatha, apache configured as |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1340 a reverse proxy. See your web server's documentation on how to set it |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1341 up as a reverse proxy. |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1342 |
|
6390
7c852cad2ca8
Add wsgi.py to frontends. Update docs.
John Rouillard <rouilj@ieee.org>
parents:
6372
diff
changeset
|
1343 The file wsgi.py (obtained from ``frontends/wsgi.py``) should be in |
|
7c852cad2ca8
Add wsgi.py to frontends. Update docs.
John Rouillard <rouilj@ieee.org>
parents:
6372
diff
changeset
|
1344 the current directory with the contents:: |
|
5938
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1345 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1346 # if roundup is not installed on the default PYTHONPATH |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1347 # set it here with: |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1348 import sys |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1349 sys.path.append('/path/to/roundup/install/directory') |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1350 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1351 # obtain the WSGI request dispatcher |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1352 from roundup.cgi.wsgi_handler import RequestDispatcher |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1353 tracker_home = '/path/to/tracker/install/directory' |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1354 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1355 app = RequestDispatcher(tracker_home) |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1356 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1357 Assuming the proxy forwards /tracker, run gunicorn as:: |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1358 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1359 SCRIPT_NAME=/tracker gunicorn --bind 127.0.0.1:8917 --timeout=10 wsgi:app |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1360 |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1361 this runs roundup at port 8917 on the loopback interface. You should |
|
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1362 configure the reverse proxy to talk to 127.0.0.1 at port 8917. |
|
6458
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1363 If you want you can use a unix domain socket instead. Example: |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1364 ``--bind unix:///var/run/roundup/tracker.sock`` would be used for the |
|
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1365 nginx configuration below. |
|
5938
16eec1c41e0e
Add basic gunicorn configuration mechanism.
John Rouillard <rouilj@ieee.org>
parents:
5911
diff
changeset
|
1366 |
| 6163 | 1367 .. index:: pair: web interface; uWSGI |
| 1368 single: wsgi; uWSGI | |
| 1369 | |
| 5940 | 1370 uWSGI Installation |
| 1371 ^^^^^^^^^^^^^^^^^^ | |
| 1372 | |
| 1373 For a basic roundup install using uWSGI behind a front end server, | |
| 1374 install uwsgi and the python3 (or python) plugin. Then run:: | |
| 1375 | |
| 1376 uwsgi --http-socket 127.0.0.1:8917 \ | |
| 1377 --plugin python3 --mount=/tracker=wsgi.py \ | |
| 1378 --manage-script-name --callable app | |
| 1379 | |
| 1380 using the same wsgi.py as was used for gunicorn. If you get path not | |
| 1381 found errors, check the mount option. The /tracker entry must match | |
| 1382 the path used for the [tracker] web value in the tracker's config.ini. | |
| 1383 | |
| 1228 | 1384 Configure an Email Interface |
| 1385 ---------------------------- | |
| 1386 | |
| 1387 If you don't want to use the email component of Roundup, then remove the | |
|
1514
c706e55896d8
minor doc bug
Richard Jones <richard@users.sourceforge.net>
parents:
1507
diff
changeset
|
1388 "``nosyreaction.py``" module from your tracker "``detectors``" directory. |
| 1228 | 1389 |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1390 See `platform-specific notes`_ for steps that may be needed on your system. |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1391 |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1392 There are five supported ways to get emailed issues into the |
| 1228 | 1393 Roundup tracker. You should pick ONE of the following, all |
| 1394 of which will continue my example setup from above: | |
| 1395 | |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
1396 As a mail alias pipe process |
| 1228 | 1397 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1398 | |
| 1399 Set up a mail alias called "issue_tracker" as (include the quote marks): | |
| 3524 | 1400 "``|/usr/bin/python /usr/bin/roundup-mailgw <tracker_home>``" |
| 1401 (substitute ``/usr/bin`` for wherever roundup-mailgw is installed). | |
| 1228 | 1402 |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1403 In some installations (e.g. RedHat Linux and Fedora Core) you'll need to |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1404 set up smrsh so sendmail will accept the pipe command. In that case, |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1405 symlink ``/etc/smrsh/roundup-mailgw`` to "``/usr/bin/roundup-mailgw``" |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1406 and change the command to:: |
| 1228 | 1407 |
| 1408 |roundup-mailgw /opt/roundup/trackers/support | |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
1409 |
| 1228 | 1410 To test the mail gateway on unix systems, try:: |
| 1411 | |
| 1412 echo test |mail -s '[issue] test' support@YOUR_DOMAIN_HERE | |
| 1413 | |
|
3722
41feeed84caa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3666
diff
changeset
|
1414 Be careful that some mail systems (postfix for example) will impost a |
|
41feeed84caa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3666
diff
changeset
|
1415 limits on processes they spawn. In particular postfix can set a file size |
|
41feeed84caa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3666
diff
changeset
|
1416 limit. *This can cause your Roundup database to become corrupted.* |
|
41feeed84caa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3666
diff
changeset
|
1417 |
|
41feeed84caa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3666
diff
changeset
|
1418 |
|
3447
83e358352e6e
minor correction to recent addition by Faheem Mitha
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3446
diff
changeset
|
1419 As a custom router/transport using a pipe process (Exim4 specific) |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1420 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1421 |
|
3446
2325b221bf47
link to exim site
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3444
diff
changeset
|
1422 The following configuration snippets for `Exim 4`_ configuration |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1423 implement a custom router & transport to accomplish mail delivery to |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1424 roundup-mailgw. A configuration for Exim3 is similar but not |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1425 included, since Exim3 is considered obsolete. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1426 |
| 7136 | 1427 .. _Exim 4: https://www.exim.org/ |
|
3446
2325b221bf47
link to exim site
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3444
diff
changeset
|
1428 |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1429 This configuration is similar to the previous section, in that it uses |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1430 a pipe process. However, there are advantages to using a custom |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1431 router/transport process, if you are using Exim. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1432 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1433 * This avoids privilege escalation, since otherwise the pipe process |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1434 will run as the mail user, typically mail. The transport can be |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1435 configured to run as the user appropriate for the task at hand. In the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1436 transport described in this section, Exim4 runs as the unprivileged |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1437 user ``roundup``. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1438 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1439 * Separate configuration is not required for each tracker |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1440 instance. When a email arrives at the server, Exim passes it through |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1441 the defined routers. The roundup_router looks for a match with one of |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1442 the roundup directories, and if there is one it is passed to the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1443 roundup_transport, which uses the pipe process described in the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1444 previous section (`As a mail alias pipe process`_). |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1445 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1446 The matching is done in the line:: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1447 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1448 require_files = /usr/bin/roundup-mailgw:ROUNDUP_HOME/$local_part/schema.py |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1449 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1450 The following configuration has been tested on Debian Sarge with |
|
3799
ac4da2670516
trim trailing spaces
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3797
diff
changeset
|
1451 Exim4. |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1452 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1453 .. note:: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1454 Note that the Debian Exim4 packages don't allow pipes in alias files |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1455 by default, so the method described in the section `As a mail alias |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1456 pipe process`_ will not work with the default configuration. However, |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1457 the method described in this section does. See the discussion in |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1458 ``/usr/share/doc/exim4-config/README.system_aliases`` on any Debian |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1459 system with Exim4 installed. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1460 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1461 For more Debian-specific information, see suggested addition to |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1462 README.Debian in |
|
5756
e48b039b0ec0
issue2550966: fix suboptimal links in docs.
John Rouillard <rouilj@ieee.org>
parents:
5610
diff
changeset
|
1463 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343283, which will |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1464 hopefully be merged into the Debian package eventually. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1465 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1466 This config makes a few assumptions: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1467 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1468 * That the mail address corresponding to the tracker instance has the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1469 same name as the directory of the tracker instance, i.e. the mail |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1470 interface address corresponding to a Roundup instance called |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1471 ``/var/lib/roundup/trackers/mytracker`` is ``mytracker@your.host``. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1472 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1473 * That (at least) all the db subdirectories of all the tracker |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1474 instances (ie. ``/var/lib/roundup/trackers/*/db``) are owned by the same |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1475 user, in this case, 'roundup'. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1476 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1477 * That if the ``schema.py`` file exists, then the tracker is ready for |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1478 use. Another option is to use the ``config.ini`` file (this changed |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1479 in 0.8 from ``config.py``). |
|
3444
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1480 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1481 Macros for Roundup router/transport. Should be placed in the macros |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1482 section of the Exim4 config:: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1483 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1484 # Home dir for your Roundup installation |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1485 ROUNDUP_HOME=/var/lib/roundup/trackers |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1486 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1487 # User and group for Roundup. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1488 ROUNDUP_USER=roundup |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1489 ROUNDUP_GROUP=roundup |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1490 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1491 Custom router for Roundup. This will (probably) work if placed at the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1492 beginning of the router section of the Exim4 config:: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1493 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1494 roundup_router: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1495 driver = accept |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1496 # The config file config.ini seems like a more natural choice, but the |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1497 # file config.py was replaced by config.ini in 0.8, and schema.py needs |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1498 # to be present too. |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1499 require_files = /usr/bin/roundup-mailgw:ROUNDUP_HOME/$local_part/schema.py |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1500 transport = roundup_transport |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1501 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1502 Custom transport for Roundup. This will (probably) work if placed at |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1503 the beginning of the router section of the Exim4 config:: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1504 |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1505 roundup_transport: |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1506 driver = pipe |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1507 command = /usr/bin/python /usr/bin/roundup-mailgw ROUNDUP_HOME/$local_part/ |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1508 current_directory = ROUNDUP_HOME |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1509 home_directory = ROUNDUP_HOME |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1510 user = ROUNDUP_USER |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1511 group = ROUNDUP_GROUP |
|
0da93b338457
exim configuration instructions (from [SF#1393860])
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
3421
diff
changeset
|
1512 |
|
1317
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1513 As a regular job using a mailbox source |
|
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1514 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1228 | 1515 |
|
3405
292fbed108ca
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3335
diff
changeset
|
1516 Set ``roundup-mailgw`` up to run every 10 minutes or so. For example |
| 3524 | 1517 (substitute ``/usr/bin`` for wherever roundup-mailgw is installed):: |
| 1228 | 1518 |
| 3524 | 1519 0,10,20,30,40,50 * * * * /usr/bin/roundup-mailgw /opt/roundup/trackers/support mailbox <mail_spool_file> |
| 1228 | 1520 |
| 1521 Where the ``mail_spool_file`` argument is the location of the roundup submission | |
| 1522 user's mail spool. On most systems, the spool for a user "issue_tracker" | |
| 1523 will be "``/var/mail/issue_tracker``". | |
| 1524 | |
|
1317
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1525 As a regular job using a POP source |
|
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1526 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1228 | 1527 |
|
3405
292fbed108ca
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3335
diff
changeset
|
1528 To retrieve from a POP mailbox, use a *cron* entry similar to the mailbox |
| 3524 | 1529 one (substitute ``/usr/bin`` for wherever roundup-mailgw is |
|
3405
292fbed108ca
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3335
diff
changeset
|
1530 installed):: |
| 1228 | 1531 |
| 3524 | 1532 0,10,20,30,40,50 * * * * /usr/bin/roundup-mailgw /opt/roundup/trackers/support pop <pop_spec> |
|
1317
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1533 |
| 1228 | 1534 where pop_spec is "``username:password@server``" that specifies the roundup |
| 1535 submission user's POP account name, password and server. | |
| 1536 | |
|
1317
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1537 On windows, you would set up the command using the windows scheduler. |
|
28ae91aae74f
clarifications
Richard Jones <richard@users.sourceforge.net>
parents:
1316
diff
changeset
|
1538 |
|
2211
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1539 As a regular job using an IMAP source |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1540 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1541 |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1542 To retrieve from an IMAP mailbox, use a *cron* entry similar to the |
| 3524 | 1543 POP one (substitute ``/usr/bin`` for wherever roundup-mailgw is |
|
3405
292fbed108ca
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3335
diff
changeset
|
1544 installed):: |
|
2211
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1545 |
| 3524 | 1546 0,10,20,30,40,50 * * * * /usr/bin/roundup-mailgw /opt/roundup/trackers/support imap <imap_spec> |
|
2211
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1547 |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1548 where imap_spec is "``username:password@server``" that specifies the roundup |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1549 submission user's IMAP account name, password and server. You may |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1550 optionally include a mailbox to use other than the default ``INBOX`` with |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1551 "``imap username:password@server mailbox``". |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1552 |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1553 If you have a secure (ie. HTTPS) IMAP server then you may use ``imaps`` |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1554 in place of ``imap`` in the command to use a secure connection. |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1555 |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1556 As with the POP job, on windows, you would set up the command using the |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1557 windows scheduler. |
|
272b654b1227
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2186
diff
changeset
|
1558 |
| 1228 | 1559 |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
1560 UNIX Environment Steps |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
1561 ---------------------- |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1562 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1563 Each tracker ideally should have its own UNIX group, so create |
| 1049 | 1564 a UNIX group (edit ``/etc/group`` or your appropriate NIS map if |
| 1565 you're using NIS). To continue with my examples so far, I would | |
| 1566 create the UNIX group 'support', although the name of the UNIX | |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1567 group does not have to be the same as the tracker name. To this |
| 1049 | 1568 'support' group I then add all of the UNIX usernames who will be |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1569 working with this Roundup tracker. In addition to 'real' users, |
| 1049 | 1570 the Roundup email gateway will need to have permissions to this |
| 1571 area as well, so add the user your mail service runs as to the | |
|
1574
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1572 group (typically "mail" or "daemon"). The UNIX group might then |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1573 look like:: |
| 1049 | 1574 |
| 1575 support:*:1002:jblaine,samh,geezer,mail | |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1576 |
| 1049 | 1577 If you intend to use the web interface (as most people do), you |
| 1578 should also add the username your web server runs as to the group. | |
| 1579 My group now looks like this:: | |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1580 |
| 1049 | 1581 support:*:1002:jblaine,samh,geezer,mail,apache |
| 1582 | |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1583 The tracker "db" directory should be chmod'ed g+sw so that the group can |
|
1078
344bad728d10
more tweakage of help display and style issues
Richard Jones <richard@users.sourceforge.net>
parents:
1049
diff
changeset
|
1584 write to the database, and any new files created in the database will be owned |
|
344bad728d10
more tweakage of help display and style issues
Richard Jones <richard@users.sourceforge.net>
parents:
1049
diff
changeset
|
1585 by the group. |
|
344bad728d10
more tweakage of help display and style issues
Richard Jones <richard@users.sourceforge.net>
parents:
1049
diff
changeset
|
1586 |
|
2594
c0d6d5004464
rdbms doc updates
Richard Jones <richard@users.sourceforge.net>
parents:
2559
diff
changeset
|
1587 If you're using the mysql or postgresql backend then you'll need to ensure |
|
c0d6d5004464
rdbms doc updates
Richard Jones <richard@users.sourceforge.net>
parents:
2559
diff
changeset
|
1588 that the tracker user has appropriate permissions to create/modify the |
|
c0d6d5004464
rdbms doc updates
Richard Jones <richard@users.sourceforge.net>
parents:
2559
diff
changeset
|
1589 database. If you're using roundup.cgi, the apache user needs permissions |
|
c0d6d5004464
rdbms doc updates
Richard Jones <richard@users.sourceforge.net>
parents:
2559
diff
changeset
|
1590 to modify the database. Alternatively, explicitly specify a database login |
|
2921
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2818
diff
changeset
|
1591 in ``rdbms`` -> ``user`` and ``password`` in ``config.ini``. |
|
2594
c0d6d5004464
rdbms doc updates
Richard Jones <richard@users.sourceforge.net>
parents:
2559
diff
changeset
|
1592 |
| 1049 | 1593 An alternative to the above is to create a new user who has the sole |
| 1594 responsibility of running roundup. This user: | |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1595 |
| 1049 | 1596 1. runs the CGI interface daemon |
| 1597 2. runs regular polls for email | |
| 1598 3. runs regular checks (using cron) to ensure the daemon is up | |
| 1599 4. optionally has no login password so that nobody but the "root" user | |
| 1600 may actually login and play with the roundup setup. | |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1601 |
|
3754
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1602 If you're using a Linux system (e.g. Fedora Core) with SELinux enabled, |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1603 you will need to ensure that the db directory has a context that |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1604 permits the web server to modify and create files. If you're using the |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1605 mysql or postgresql backend you may also need to update your policy to |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1606 allow the web server to access the database socket. |
|
9f4dd27ae843
documentation cleanup from Luke Ross (patch [SF#1594860])
Richard Jones <richard@users.sourceforge.net>
parents:
3736
diff
changeset
|
1607 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1608 |
|
3830
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1609 Public Tracker Considerations |
|
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1610 ----------------------------- |
|
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1611 |
|
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1612 If you run a public tracker, you will eventually have to think about |
|
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1613 dealing with spam entered through both the web and mail interfaces. |
|
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1614 |
|
5300
d8ed32b297e2
Update to migrating backend and tweak to install doc.
John Rouillard <rouilj@ieee.org>
parents:
5140
diff
changeset
|
1615 See the section on `Preventing SPAM`_ in the |
|
d8ed32b297e2
Update to migrating backend and tweak to install doc.
John Rouillard <rouilj@ieee.org>
parents:
5140
diff
changeset
|
1616 `customisation documentation`_ that has a simple detector |
|
d8ed32b297e2
Update to migrating backend and tweak to install doc.
John Rouillard <rouilj@ieee.org>
parents:
5140
diff
changeset
|
1617 that will block lot of spam attempts. |
|
3830
a48c514c465f
Add simple anti-spam recipe to docs
Richard Jones <richard@users.sourceforge.net>
parents:
3814
diff
changeset
|
1618 |
|
2069
d8c7fd205cd8
info for installing the CSV module
Richard Jones <richard@users.sourceforge.net>
parents:
2003
diff
changeset
|
1619 |
| 1228 | 1620 Maintenance |
| 1621 =========== | |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1622 |
|
2003
a291bf753037
maintenance -> admin guide
Richard Jones <richard@users.sourceforge.net>
parents:
1965
diff
changeset
|
1623 Read the separate `administration guide`_ for information about how to |
| 1228 | 1624 perform common maintenance tasks with Roundup. |
| 1049 | 1625 |
|
782
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1626 |
|
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1627 Upgrading |
|
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1628 ========= |
|
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1629 |
|
882
b99948d32a2d
clearing up ambiguous ref name
Richard Jones <richard@users.sourceforge.net>
parents:
798
diff
changeset
|
1630 Read the separate `upgrading document`_, which describes the steps needed to |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1631 upgrade existing tracker trackers for each version of Roundup that is |
|
782
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1632 released. |
|
6f6eb43d9d86
Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
1633 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1634 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1635 Further Reading |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1636 =============== |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1637 |
|
3528
762d65fefea5
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3524
diff
changeset
|
1638 If you intend to use Roundup with anything other than the default |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1639 templates, if you would like to hack on Roundup, or if you would |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1640 like implementation details, you should read `Customising Roundup`_. |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1641 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1642 |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1643 Running Multiple Trackers |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1644 ========================= |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1645 |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1646 Things to think about before you jump off the deep end and install |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1647 multiple trackers, which involve additional URLs, user databases, email |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1648 addresses, databases to back up, etc. |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1649 |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1650 1. Do you want a tracker per product you sell/support? You can just add |
|
2161
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1651 a new property to your issues called Product, and filter by that. See |
|
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1652 the customisation example `adding a new field to the classic schema`_. |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1653 2. Do you want to track internal software development issues and customer |
|
2186
3f89c8ffe4f1
version info in scripts
Richard Jones <richard@users.sourceforge.net>
parents:
2179
diff
changeset
|
1654 support issues separately? You can just set up an additional "issue" |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1655 class called "cust_issues" in the same tracker, mimicing the normal |
|
2161
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1656 "issue" class, but with different properties. See the customisation |
|
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1657 example `tracking different types of issues`_. |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1658 |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1659 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1660 Platform-Specific Notes |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1661 ======================= |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1662 |
|
1649
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1663 Windows command-line tools |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1664 -------------------------- |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1665 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1666 To make the command-line tools accessible in Windows, you need to update |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1667 the "Path" environment variable in the Registry via a dialog box. |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1668 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1669 On Windows 2000 and later: |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1670 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1671 1) Press the "Start" button. |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1672 2) Choose "Settings" |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1673 3) Choose "Control Panel" |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1674 4) Choose "System" |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1675 5) Choose "Advanced" |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1676 6) Choose "Environmental Variables" |
|
1746
9c1da921cd35
minor rest tweak
Richard Jones <richard@users.sourceforge.net>
parents:
1688
diff
changeset
|
1677 7) Add: "<dir>\Scripts" to the "Path" environmental variable. |
|
1649
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1678 |
|
6727
3f3ce3004013
issue2551206 - remove mention of roundup installer, fix up windows docs
John Rouillard <rouilj@ieee.org>
parents:
6663
diff
changeset
|
1679 Where <dir> in 7) is the root directory (e.g., ``C:\Python27\Scripts``) |
|
1649
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1680 of your Python installation. |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1681 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1682 I understand that in XP, 2) above is not needed as "Control |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1683 Panel" is directly accessible from "Start". |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1684 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1685 I do not believe this is possible to do in previous versions of Windows. |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1686 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1687 |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1688 Windows Server |
|
6d392197daa3
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1648
diff
changeset
|
1689 -------------- |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1690 |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1691 To have the Roundup web server start up when your machine boots up, there |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1692 are two different methods, the scheduler and installing the service. |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1693 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1694 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1695 1. Using the Windows scheduler |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1696 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1697 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1698 Set up the following in Scheduled Tasks (note, the following is for a |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1699 cygwin setup): |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1700 |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1701 **Run** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1702 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1703 ``c:\cygwin\bin\bash.exe -c "roundup-server TheProject=/opt/roundup/trackers/support"`` |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1704 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1705 **Start In** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1706 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1707 ``C:\cygwin\opt\roundup\bin`` |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1708 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1709 **Schedule** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1710 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1711 At System Startup |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1712 |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1713 To have the Roundup mail gateway run periodically to poll a POP email address, |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1714 set up the following in Scheduled Tasks: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1715 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1716 **Run** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1717 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1718 ``c:\cygwin\bin\bash.exe -c "roundup-mailgw /opt/roundup/trackers/support pop roundup:roundup@mail-server"`` |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1719 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1720 **Start In** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1721 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1722 ``C:\cygwin\opt\roundup\bin`` |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1723 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1724 **Schedule** |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1725 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1726 Every 10 minutes from 5:00AM for 24 hours every day |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1727 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1728 Stop the task if it runs for 8 minutes |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1729 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1730 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1731 2. Installing the roundup server as a Windows service |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1732 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1733 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1734 This is more Windows oriented and will make the Roundup server run as |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1735 soon as the PC starts up without any need for a login or such. It will |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1736 also be available in the normal Windows Administrative Tools. |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1737 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1738 For this you need first to create a service ini file containing the |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1739 relevant settings. |
|
1588
1ac46e7e4150
more doc work - new improved overview doc
Richard Jones <richard@users.sourceforge.net>
parents:
1576
diff
changeset
|
1740 |
|
3797
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1741 1. It is created if you execute the following command from within the |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1742 scripts directory (notice the use of backslashes):: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1743 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1744 roundup-server -S -C <trackersdir>\server.ini -n <servername> -p 8080 -l <trackersdir>\trackerlog.log software=<trackersdir>\Software |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1745 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1746 where the item ``<trackersdir>`` is replaced with the physical directory |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1747 that hosts all of your trackers. The ``<servername>`` item is the name |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1748 of your roundup server PC, such as w2003srv or similar. |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1749 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1750 2. Next open the now created file ``C:\DATA\roundup\server.ini`` file |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1751 (if your ``<trackersdir>`` is ``C:\DATA\roundup``). |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1752 Check the entries for correctness, especially this one:: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1753 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1754 [trackers] |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1755 software = C:\DATA\Roundup\Software |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1756 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1757 (this is an example where the tracker is named software and its home is |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1758 ``C:\DATA\Roundup\Software``) |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1759 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1760 3. Next give the commands that actually installs and starts the service:: |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1761 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1762 roundup-server -C C:\DATA\Roundup\server.ini -c install |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1763 roundup-server -c start |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1764 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1765 4. Finally open the AdministrativeTools/Services applet and locate the |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1766 Roundup service entry. Open its properties and change it to start |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1767 automatically instead of manually. |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1768 |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1769 If you are using Apache as the webserver you might want to use it with |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1770 mod_python instead to serve out Roundup. In that case see the mod_python |
|
bb6e8fafa341
Updated Windows installation docs (thanks Bo Berglund)
Richard Jones <richard@users.sourceforge.net>
parents:
3794
diff
changeset
|
1771 instructions above for details. |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1772 |
|
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1574
diff
changeset
|
1773 |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1774 Sendmail smrsh |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1775 -------------- |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1776 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1777 If you use Sendmail's ``smrsh`` mechanism, you will need to tell |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1778 smrsh that roundup-mailgw is a valid/trusted mail handler |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1779 before it will work. |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1780 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1781 This is usually done via the following 2 steps: |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1782 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1783 1. make a symlink in ``/etc/smrsh`` called ``roundup-mailgw`` |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1784 which points to the full path of your actual ``roundup-mailgw`` |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1785 script. |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1786 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
1078
diff
changeset
|
1787 2. change your alias to ``"|roundup-mailgw <tracker_home>"`` |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1788 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1789 |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1790 Linux |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1791 ----- |
|
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1792 |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
1793 Make sure you read the instructions under `UNIX environment steps`_. |
|
1574
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1794 |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1795 |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1796 Solaris |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1797 ------- |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1798 |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1799 You'll need to build Python. |
|
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1800 |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
1801 Make sure you read the instructions under `UNIX environment steps`_. |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1913
diff
changeset
|
1802 |
|
1574
67af854f4c33
more installation hintage
Richard Jones <richard@users.sourceforge.net>
parents:
1571
diff
changeset
|
1803 |
|
2972
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1804 Problems? Testing your Python... |
|
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1805 ================================ |
|
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1806 |
|
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1807 .. note:: |
|
6297
a635a60ffb84
Remove standalone pytest run_tests.py bundle
John Rouillard <rouilj@ieee.org>
parents:
6265
diff
changeset
|
1808 The ``run_tests.py`` script is not packaged in Roundup's source |
|
a635a60ffb84
Remove standalone pytest run_tests.py bundle
John Rouillard <rouilj@ieee.org>
parents:
6265
diff
changeset
|
1809 distribution anymore. You should install pytest using your |
|
a635a60ffb84
Remove standalone pytest run_tests.py bundle
John Rouillard <rouilj@ieee.org>
parents:
6265
diff
changeset
|
1810 distributions package manger or using pip/pip2/pip3 to install |
|
a635a60ffb84
Remove standalone pytest run_tests.py bundle
John Rouillard <rouilj@ieee.org>
parents:
6265
diff
changeset
|
1811 pytest for your python version. See the `administration guide`_ |
|
a635a60ffb84
Remove standalone pytest run_tests.py bundle
John Rouillard <rouilj@ieee.org>
parents:
6265
diff
changeset
|
1812 for details. |
|
2972
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1813 |
|
4317
15834821b8c7
- fix explicit python version description...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4315
diff
changeset
|
1814 Remember to have a database user 'rounduptest' prepared (with |
|
15834821b8c7
- fix explicit python version description...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4315
diff
changeset
|
1815 password 'rounduptest'). This user |
|
4315
cfb01b2bc730
Fix documentation on user required to run the tests, fixes issue2550618.
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4249
diff
changeset
|
1816 must have at least the rights to create and drop databases. |
|
cfb01b2bc730
Fix documentation on user required to run the tests, fixes issue2550618.
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4249
diff
changeset
|
1817 Documentation: details on `adding MySQL users`_, |
|
cfb01b2bc730
Fix documentation on user required to run the tests, fixes issue2550618.
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4249
diff
changeset
|
1818 for PostgreSQL you want to call the ``createuser`` command with the |
|
cfb01b2bc730
Fix documentation on user required to run the tests, fixes issue2550618.
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4249
diff
changeset
|
1819 ``-d`` option to allow database creation. |
|
cfb01b2bc730
Fix documentation on user required to run the tests, fixes issue2550618.
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4249
diff
changeset
|
1820 |
|
6988
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1821 This can only be done if you downloaded and unpacked the source |
|
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1822 distrbution. It will not work if you used `pip install` as the test |
|
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1823 suite is not installed. Once you've unpacked roundup's source, if you |
|
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1824 have pytest installed, run ``python -m pytest test`` in the source |
|
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1825 directory and make sure there are no errors. If there are errors, |
|
a6ca811139b6
clarify preconditions for using tests.
John Rouillard <rouilj@ieee.org>
parents:
6906
diff
changeset
|
1826 please let us know! |
|
2972
dd558120d927
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2945
diff
changeset
|
1827 |
|
1287
5402a6f2a754
Added quotes around python interpreter in windows bat [SF#623963]
Richard Jones <richard@users.sourceforge.net>
parents:
1282
diff
changeset
|
1828 .. _`user guide`: user_guide.html |
|
4949
c3a90535f7a7
Backed out changeset 4a3a35192ad1
John Rouillard <rouilj@ieee.org>
parents:
4948
diff
changeset
|
1829 .. _`roundup specification`: spec.html |
|
1245
d8c98af869ff
merge from maint-0-5
Richard Jones <richard@users.sourceforge.net>
parents:
1244
diff
changeset
|
1830 .. _`tracker configuration`: customizing.html#tracker-configuration |
|
d8c98af869ff
merge from maint-0-5
Richard Jones <richard@users.sourceforge.net>
parents:
1244
diff
changeset
|
1831 .. _`customisation documentation`: customizing.html |
|
5300
d8ed32b297e2
Update to migrating backend and tweak to install doc.
John Rouillard <rouilj@ieee.org>
parents:
5140
diff
changeset
|
1832 .. _`preventing spam`: customizing.html#preventing-spam |
|
2161
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1833 .. _`Adding a new field to the classic schema`: |
|
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1834 customizing.html#adding-a-new-field-to-the-classic-schema |
|
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1835 .. _`Tracking different types of issues`: |
|
98656054ccfa
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2069
diff
changeset
|
1836 customizing.html#tracking-different-types-of-issues |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1837 .. _`customising roundup`: customizing.html |
|
882
b99948d32a2d
clearing up ambiguous ref name
Richard Jones <richard@users.sourceforge.net>
parents:
798
diff
changeset
|
1838 .. _`upgrading document`: upgrading.html |
|
2003
a291bf753037
maintenance -> admin guide
Richard Jones <richard@users.sourceforge.net>
parents:
1965
diff
changeset
|
1839 .. _`administration guide`: admin_guide.html |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
1840 .. _`doc/postgresql.txt`: postgresql.html |
|
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
1841 .. _`doc/mysql.txt`: mysql.html |
|
2554
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1842 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1843 |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1844 .. _External hyperlink targets: |
|
52944e87909c
added mod_python setup example
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2449
diff
changeset
|
1845 |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1846 |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1847 |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1848 .. _`adding MySQL users`: |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1849 https://dev.mysql.com/doc/refman/8.0/en/creating-accounts.html |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1850 .. _apache: https://httpd.apache.org/ |
|
6458
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1851 .. _brotli: https://pypi.org/project/Brotli/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1852 .. _docutils: https://pypi.org/project/docutils/ |
|
5337
01dabc0483b0
more changes to prep for 1.6 release.
John Rouillard <rouilj@ieee.org>
parents:
5321
diff
changeset
|
1853 .. _flup: https://pypi.org/project/flup/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1854 .. _gpg: https://www.gnupg.org/software/gpgme/index.html |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1855 .. _jinja2: https://palletsprojects.com/p/jinja/ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1856 .. _markdown: https://python-markdown.github.io/ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1857 .. _markdown2: https://github.com/trentm/python-markdown2 |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1858 .. _mistune: https://pypi.org/project/mistune/ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1859 .. _mod_python: https://github.com/grisha/mod_python |
|
5891
6e341009593b
Deprecate mod_python issue2551005
John Rouillard <rouilj@ieee.org>
parents:
5878
diff
changeset
|
1860 .. _mod_wsgi: https://pypi.org/project/mod-wsgi/ |
|
5510
e2978ed3b550
update link to new mysqlclient module and recommend update in upgrading.txt
Christof Meerwald <cmeerw@cmeerw.org>
parents:
5494
diff
changeset
|
1861 .. _MySQLdb: https://pypi.org/project/mysqlclient/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1862 .. _Olson tz database: https://www.iana.org/time-zones |
|
6663
e63f514bb0e6
issue2551201 - Update references to psycopg2
John Rouillard <rouilj@ieee.org>
parents:
6653
diff
changeset
|
1863 .. _Psycopg2: https://www.psycopg.org/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1864 .. _pyjwt: https://pypi.org/project/PyJWT/ |
|
6419
4d321d52d67d
fix broken link for pyopenssl
John Rouillard <rouilj@ieee.org>
parents:
6391
diff
changeset
|
1865 .. _pyopenssl: https://pypi.org/project/pyOpenSSL/ |
|
5756
e48b039b0ec0
issue2550966: fix suboptimal links in docs.
John Rouillard <rouilj@ieee.org>
parents:
5610
diff
changeset
|
1866 .. _pysqlite: https://pysqlite.org/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1867 .. _pytz: https://pypi.org/project/pytz/ |
|
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1868 .. _pywin32: https://pypi.org/project/pywin32/ |
|
6814
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
1869 .. _Redis: https://redis.io |
|
3f60a71b0812
Summary: Support selecion session/otk data store. Add redis as data store.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
1870 .. _redis-py: https://pypi.org/project/redis/ |
|
7065
48da482d7d93
reference requests library for imap_oauth in roundup-mailgw
John Rouillard <rouilj@ieee.org>
parents:
7042
diff
changeset
|
1871 .. _requests: https://requests.readthedocs.io/en/latest/ |
| 7136 | 1872 .. _Whoosh: https://whoosh.readthedocs.org/en/latest/ |
|
6391
205bc1d27985
Added links for pyjwt, markdown libs, rearranged links.
John Rouillard <rouilj@ieee.org>
parents:
6390
diff
changeset
|
1873 .. _Xapian: https://xapian.org/ |
|
6458
8f1b91756457
issue2551147 - Enable compression of http responses in roundup.
John Rouillard <rouilj@ieee.org>
parents:
6419
diff
changeset
|
1874 .. _zstd: https://pypi.org/project/zstd/ |
