Home Products CanDo Installation Installation for Developers
Document Actions

Installation for Developers

by Jason Straw last modified 2007-08-14 14:27

Getting CanDo!


The following are the steps necessary in setting up CanDo from an svn checkout. This guide assumes you are running CanDo on some distribution of Ubuntu.

  1. Make sure you have the following packages installed (apt-get install):
    • subversion
    • build-essential
    • python-all
    • python-all-dev
    • libc6-dev
    • python-libxml2
    • python-imaging
    • libicu-dev
    • python-setuptools
    • sudo apt-get install subversion build-essential python-all python-all-dev libc6-dev python-libxml2 python-imaging libicu-dev python-setuptools
  2. Open up a command prompt and navigate to the folder where you want your instance of CanDo to live. For example /home/yourUserName
  3. Next type the following command at the prompt:
    • svn co https://svn.schooltool.org/cando/trunk cando
This creates a folder, "cando" in the current directory with everything you need. You can change the name of the folder to your liking.

  1. Next change to the new folder:
    • cd cando
  2. Now you have to run make. Make checks out the latest version of the SchoolTool source and puts it in a SchoolTool folder within cando, along with doing a few other things. It also runs make in the SchoolTool folder for you. Simply type the following command at the prompt:
    • make
  3. That is all there is to it. To start up SchoolTool, run the schooltool-server.py program from that folder:
    • ./start-cando.py
Alternately, just type:
    • make run

Installing CanDo as a Developer


For those of you who are CanDo developers, and have the old svn+ssh access, follow the same steps as above except check out from svn+ssh://username@source.schooltool.org/svn/cando/trunk.

If you have the new https access, use https://username@svn.schooltool.org/cando/trunk.



Developing SchoolTool at the Same Time


Anyone who is also a SchoolTool developer with access to the SchoolTool repository can commits to both repositories. After checking out and making CanDo (see above steps), go to the SchoolTool directory and type:

svn switch --relocate http://source.schooltool.org/svn/trunk/schooltool

svn+ssh://username@source.schooltool.org/svn/schooltool/trunk/schooltool
OR
https://username@source.schooltool.org/svn/schooltool/trunk/schooltool

depending on whether you have the svn+ssh access or https access.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: