2005-04-26

Codeville Quickstart

The Codeville distributed version management system has documentation that is, to say the least, quite lacking.

So let's say for example that you want to get started playing around with Codeville and you don't have a lot of time in which to do it. Here's the skinny:

  1. Install Python 2.3 or newer
  2. Install Berekely DB 4.1 or newer
  3. Install python-bsddb (version is less important)
  4. Install Codeville

  5. $ touch /etc/cdvserver.conf
  6. $ mkdir /repository
  7. $ cd /repository
  8. $ touch codeville_repository passwd
  9. $ cdvpasswd -f ./passwd add user@hostname
  10. $ cdvserver -n -d -f .

  11. $ mkdir /mycode
  12. $ cd /mycode
  13. $ mkdir CVILLE
  14. $ cdv set user user@hostname
  15. $ cdv set repository cdv://127.0.0.1/testprogram
  16. $ cdv create cdv://127.0.0.1/testprogram
  17. $ date > date.txt
  18. $ cdv add ...
  19. $ cdv commit

There you go. That's all you need to get started with a Codeville server, client, and initial commit. Have fun.

No comments: