Quick deployment supports zbox-wiki file sharing sites in makedown and latex formats

Source: Internet
Author: User

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.pyStarting fromimportContent:

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 documentyour_path/pages/zbox-wikiDirectory.
  • 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, modifyzbox_wiki/main.pyFile.

-

For more information, see "LIU Da's csdn blog": blog.csdn.net/poechant

-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.