-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
68 lines (63 loc) · 2.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Prerequisites:
~~~~~~~~~~~~~~
Dokuforge has the following dependencies:
* Python (version >= 3.6)
* rcs
Required: yes
Homepage: http://www.cs.purdue.edu/homes/trinkle/RCS/
Debian: rcs
FreeBSD: included in base system
Gentoo: dev-vcs/rcs
* mathjax
Required: only for rendering math
Homepage: http://www.mathjax.org/
Debian: libjs-mathjax
FreeBSD: suggested (PR ports/153195)
Gentoo: not packaged
Download: http://github.com/mathjax/MathJax/zipball/v1.1a
Additionally, the following python packages are required. The minimal version can be
taken from the `requirements.txt` file:
* werkzeug
Required: yes
Homepage: http://werkzeug.pocoo.org/
Debian: python-werkzeug
FreeBSD: www/py-werkzeug
Gentoo: dev-python/werkzeug
* jinja (version 2.x)
Required: yes
Homepage: http://jinja.pocoo.org/
Debian: python-jinja2
FreeBSD: devel/py-Jinja2
Gentoo: dev-python/jinja
* webtest
Required: only for the test suite
Homepage: http://webtest.pythonpaste.org
Debian: python-webtest
FreeBSD: www/py-WebTest
Gentoo: dev-python/webtest
* wsgitools
Required: for using serve_* except serve_debug
Homepage: http://www.subdivi.de/~helmut/wsgitools/
Debian: not packaged
FreeBSD: devel/py-wsgitools
Gentoo: not packaged
Download: http://www.subdivi.de/~helmut/darcs/wsgitools/dist/wsgitools-0.2.2.tar.gz
* epydoc
Required:
Homepage: http://epydoc.sourceforge.net/
Debian: python-epydoc
FreeBSD: devel/epydoc
Gentoo: dev-python/epydoc
Short forms:
* Debian: aptitude install python-werkzeug python-jinja2 rcs python-webtest python-epydoc libjs-mathjax
* FreeBSD: ... www/py-werkzeug devel/py-Jinja2 www/py-WebTest devel/epydoc devel/py-wsgitools
* Gentoo: emerge dev-python/werkzeug dev-python/jinja dev-vcs/rcs dev-python/webtest dev-python/epydoc
Configuration:
~~~~~~~~~~~~~~
Copy dokuforge.conf.sample and update it. A basic data set for testing can be
created by invoking python createexample.py.
Running:
~~~~~~~~
The simplest form is
python -m dokuforge.serve_simple path_to_your_dokuforge.conf
It will start a webserver on localhost:8800.