Quick deployment supports zbox-wiki file sharing sites in makedown and latex formats
- Author: poechant
- Blog: blog.csdn.net/poechant
- Email: zhongchao.ustc@gmail.com
- Date: February 23Th, 2012
0. What is zbox-wiki?
Zbox-wiki is a software written by shuge Lee, an open-source enthusiast. It is used to build simple and lightweight personal or team wiki sites. Zbox-wiki is written in Python and supports markdown, Tex/latex, and graphviz/dot. Zbox-Wiki has the following features (from simple-is-better.com ):
- It can be used, and it can be used
- Based on Web. py writing, find grep is directly called for some dirty jobs.
- Supports markdown Marking
- You can use Firefox + It's all text + any editor to update the Wiki, or directly modify the corresponding text file.
- Supports Simple latex (ensure that latex and dvipng are installed on your machine)
- Automatically generate table of content
- Code highlighted
- Button-mode path
The following describes how to build a short and concise wiki site.
1. dependent on setuptools
wget http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py
Webutils
Reference: webutils Homepage
wget http://pypi.python.org/packages/source/w/webutils/webutils-0.9.tar.gz#md5=7501f47b7499cd7b05e2789c27224615tar zxvf webutils-0.9.tar.gzcd webutils-0.9python setup.py buildsudo python setup.py install
Web. py
Reference: Web. py Install guide
wget http://webpy.org/static/web.py-0.36.tar.gztar zxvf web.py-0.36.tar.gzcd web.py-0.36sudo python setup.py install
2. Modification Error
Find source filezbox_wiki/zbox_wiki/commons/md_table.py
Starting fromimport
Content:
import markdownimport reimport web.utils
Setimport
web.utils
Changeimport
webutils
.
3. Install
Reference: zbox-wiki readme
git clone git://github.com/shuge/zbox_wiki.gitcd zbox_wikisudo python setup.py buildsudo python setup.py installzwadmin.py create /tmp/my_instancesed -i -e s/readonly\ =\ True/readonly\ =\ False/g /tmp/foo/myproj/conf.py
4. Start
Specify the Start port8080
, Which can be modified by the reader.
zwd.py --path /tmp/foo/myproj --port 8080
5. Add document
- Add your document
your_path/pages/zbox-wiki
Directory.
- Zbox-wiki supports user-created directories and recursively searches for one list (note that this list is one ).
- To modify the document directory display mode, modify
zbox_wiki/main.py
File.
-
For more information, see "LIU Da's csdn blog": blog.csdn.net/poechant
-