Zine

open source content publishing system


source: api/intro.rst @ 863:3e78b3b6e812

Revision 863:3e78b3b6e812, 1.5 KB checked in by mitsuhiko, 3 years ago (diff)

Created system for documentation.

Introduction

To work on Zine you have to have a Mac running OS X, a BSD syystem or Linux. It's currently not possible to develop on Windows as some of tools depend on a POSIX environment. You may have success by using cygwin, but we don't have any experience with it.

Checking out the Code

Depending on what feature you want to work on you should check out one of the following mercurial repositories:

  • http://dev.pocoo.org/hg/zine-main — the main repository for new features
  • http://dev.pocoo.org/hg/zine-0.1 — 0.1 maintenance branch for bugfixes and translations

If you have troubles selecting the correct branch, ask in the IRC channel.

Clone the branch using hg:

$ hg clone http://dev.pocoo.org/hg/zine-0.1 zine

Creating a Development Environment

After you have cloned the code, step into the directory and initialize a new virtual python environment:

$ cd zine
$ ./scripts/setup-virtualenv env

Now you have a virtual environment called “env” in the root of your repository initialized with all the libraries required for developing on that branch with the correct version.

Make sure to enable it before working on Zine:

$ source env/bin/activate

To leave the virtual environment run this command:

$ deactivate

Check in often and merge often with upstream. When you're happy with the result, create a bundle or patch and attach it to a ticket in the trac.

Note: See TracBrowser for help on using the repository browser.