1. Alexander Lee
  2. svnwiki

Wiki

Clone wiki

svnwiki / Home

about svn-wiki

This wiki engine use svn to store pages and changing data,so i called it svn wiki It's based on tornado web server from here

svn-wiki features

1.create page with a WUSIWUG editor 2.edit page 3.rollback page to past vision 4.upload files

Go ahead and try:

$ hg clone http://bitbucket.org/alexander_lee/svnwikiwiki/

Start to use svn wiki

step1:

$ vim app.py

change settings and add user

#setting-start
define("user",default="liming")     #svn user
define("password",default="xxx")  #svn password
define("port",default=8989,type=int)   #web server listen to this port
define("rep",default="svn://xxx.xxx.xxx.xxx/passport_src/documents/platform_doc") #reponsitory path
define("workcopy",default=u"/home/alexlee/svn/workspace/svn-wiki/work-cp2")    #path of working copy
define("upfile",default=u"/home/alexlee/svn/workspace/svn-wiki/static/upload")   #path of uploading file directory
#setting-end
#user-start add user in this dictionary
USERS=dict(
    admin="123456",     #admin user,only this user can rollback changes
)
#user-end

step2 you can start server as service use:

$ python serv.py start

stop or restart service

$ python serv.py stop
$ python serv.py restart

Updated