Anpassungen für neue Moin Version
This commit is contained in:
parent
8117b6a1e2
commit
eb469fe356
10 changed files with 617 additions and 345 deletions
22
standalone.py
Normal file
22
standalone.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
from MoinMoin.server.standalone import StandaloneConfig, run
|
||||
|
||||
import sys
|
||||
# Path of the directory where wikiconfig.py is located.
|
||||
# YOU NEED TO CHANGE THIS TO MATCH YOUR SETUP.
|
||||
sys.path.insert(0, 'home/caddy/wikifarm/var/wikifarm/config')
|
||||
|
||||
# Path to MoinMoin package, needed if you installed with --prefix=PREFIX
|
||||
# or if you did not use setup.py.
|
||||
sys.path.insert(0, '/usr/local/lib/python2.4/site-packages')
|
||||
|
||||
# Path of the directory where farmconfig.py is located (if different).
|
||||
sys.path.insert(0, '/home/caddy/wikifarm/var/wikifarm/config')
|
||||
|
||||
class Config(StandaloneConfig):
|
||||
docs = '/home/caddy/wikifarm/var/wikifarm'
|
||||
user = 'http'
|
||||
group = 'http'
|
||||
port = 80
|
||||
|
||||
run(Config)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue