update
posativ
13 years ago
16 | 16 | |
17 | 17 | Requirements |
18 | 18 | ------------ |
19 | * Python 2.7 | |
19 | * Python 2.6 (2.5 should work, too) | |
20 | * Werkzeug_ | |
20 | 21 | * Jinja2_ |
21 | 22 | * Pygments_ |
22 | 23 | * dulwich_ (>= 0.7.1) |
23 | * argparse (only for Python 2.6) | |
24 | * Nano_ (shipped as submodule, do a ``git submodule update --init`` to fetch) | |
25 | 24 | |
25 | .. _Werkzeug: http://werkzeug.pocoo.org/ | |
26 | 26 | .. _Jinja2: http://jinja.pocoo.org/ |
27 | 27 | .. _Pygments: http://pygments.org/ |
28 | 28 | .. _dulwich: http://www.samba.org/~jelmer/dulwich/ |
29 | .. _Nano: https://github.com/jonashaag/nano | |
30 | 29 | |
31 | 30 | |
32 | 31 | Installation |
61 | 60 | .. _wsgiref: http://docs.python.org/library/wsgiref.html |
62 | 61 | .. _bjoern: https://github.com/jonashaag/bjoern |
63 | 62 | |
64 | Using a real server ................... The ``klaus/__init__.py`` module | |
65 | contains a WSGI ``make_app`` function which returns the app. The repo list is | |
66 | read from the ``KLAUS_REPOS`` environment variable (space-separated paths). | |
63 | Using a real server ................... | |
64 | ||
65 | The ``klaus/__init__.py`` module contains a WSGI ``make_app`` function which | |
66 | returns the app. The repo list is read from the ``KLAUS_REPOS`` environment | |
67 | variable (space-separated paths). | |
67 | 68 | |
68 | 69 | UWSGI example:: |
69 | 70 |