Version Control

From Lijst.com Wiki

Revision as of 16:51, 4 April 2009 by Nederhoed (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This is Lijst.com Developer documentation. Not intended for Lijst.com users.

Lijst.com uses the Bazaar version control system. Read the Bazaar documentation.

On a side note: adding bzr under Ubuntu

  1. Add a package source and PGP key to /etc/apt/sources.list
    Use system - administration - software sources
  2. Package selection and PGP key link
    Extra instructions
  3. Reload your packages
  4. sudo apt-get install bzr

Contents

Commands

branch

Start your own branch using an external repository

bzr branch ftp://bazaar@lijst.webfactional.com/home/bazaar/lijst lijst

second time:

bzr pull

push

Publishing your branch for use by others

bzr push ftp://bazaar@lijst.webfactional.com/home/bazaar/lijst.rr

second time

bzr push

Lijst.com Installation

$ sudo apt-get install python-setuptools
...
$ python2.5 bootstrap.py
...
$ bin/buildout
...
$ bin/django test
...
$ bin/django runserver

Deployment

$ sudo easy_install Fabric
...
$ fab deploy fabfile
...

Check operation online.