0
|
1 |
============
|
|
2 |
Requirements
|
|
3 |
============
|
|
4 |
|
|
5 |
MoinMoin requires Python 2.7.x. A CPython distribution is
|
|
6 |
recommended because it will likely be the fastest and most stable.
|
|
7 |
Most developers use a CPython distribution for testing.
|
|
8 |
Typical linux distributions will either have Python 2.7 installed by
|
|
9 |
default or will have a package manager that will install Python 2.7
|
|
10 |
as a secondary Python.
|
|
11 |
Windows users may download CPython distributions from http://www.python.org/ or
|
|
12 |
http://www.activestate.com/.
|
|
13 |
|
|
14 |
An alternative implementation of Python, PyPy, is available
|
|
15 |
from http://pypy.org/.
|
|
16 |
|
|
17 |
The `virtualenv` Python package is also required. The
|
|
18 |
installation process for `virtualenv` varies with your OS and
|
|
19 |
Python distribution.
|
|
20 |
Many linux distributions have a package manager that may do
|
|
21 |
the installation. Windows users (and perhaps others) may download
|
|
22 |
setuptools from https://pypi.python.org/pypi/setuptools.
|
|
23 |
Once setuptools is installed, do "`easy_install virtualenv`".
|
|
24 |
Current ActiveState distributions include virtualenv in the installation bundle.
|
|
25 |
If all else fails, try Google.
|
|
26 |
|
|
27 |
Mercurial (hg) is required should you wish to contribute
|
|
28 |
patches to the moin2 development effort. Even if you do not
|
|
29 |
intend to contribute, Mercurial is highly recommended as it
|
|
30 |
will make it easy for you to obtain fixes and enhancements
|
|
31 |
from the moin2 repositories. Mercurial can be installed
|
|
32 |
with most linux package managers or downloaded
|
|
33 |
from http://mercurial.selenic.com/. As an alternative,
|
|
34 |
most Windows users will prefer to install TortoiseHG
|
|
35 |
(includes Mercurial) from http://tortoisehg.bitbucket.org/.
|
|
36 |
|
|
37 |
|
|
38 |
Servers
|
|
39 |
=======
|
|
40 |
|
|
41 |
For moin2, you can use any server compatible with WSGI:
|
|
42 |
|
|
43 |
* the builtin "./m run" or "moin" server is recommended for desktop wikis, testing,
|
|
44 |
debugging, development, adhoc-wikis, etc.
|
|
45 |
* apache with mod_wsgi is recommended for bigger/busier wikis.
|
|
46 |
* other WSGI-compatible servers or middlewares are usable
|
|
47 |
* For cgi, fastcgi, scgi, ajp, etc., you can use the "flup" middleware:
|
|
48 |
http://trac.saddi.com/flup
|
|
49 |
* IIS with ISAPI-WSGI gateway is also compatible: http://code.google.com/p/isapi-wsgi/
|
|
50 |
|
|
51 |
.. caution:: When using the built-in server for public wikis (not recommended), use
|
|
52 |
"./m run -d -r" to turn off the werkzeug debugger and auto reloader. See Werkzeug
|
|
53 |
docs for more information.
|
|
54 |
|
|
55 |
|
|
56 |
Dependencies
|
|
57 |
============
|
|
58 |
|
|
59 |
Dependent packages will be automatically downloaded and installed during the
|
|
60 |
moin2 installation process. For a list of dependencies, see setup.py.
|
|
61 |
|
|
62 |
|
|
63 |
Clients
|
|
64 |
=======
|
|
65 |
On the client side, you need:
|
|
66 |
|
|
67 |
* a web browser that supports W3C standards HTML 5, CSS 2.1, and JavaScript:
|
|
68 |
|
|
69 |
- any current version of Firefox, Chrome, Opera, Safari, Maxthon, Internet Explorer (IE9 or newer).
|
|
70 |
- use of older Internet Explorer versions is not recommended and not supported.
|
|
71 |
|
|
72 |
* a Java browser plugin is required only if you want to use the TWikiDraw or AnyWikiDraw drawing applets.
|