Installation for Developers
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.
- 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
- Open up a command prompt and navigate to the folder where you want your instance of CanDo to live. For example /home/yourUserName
- Next type the following command at the prompt:
- svn co https://svn.schooltool.org/cando/trunk cando
- Next change to the new folder:
- cd cando
- 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
- That is all there is to it. To start up SchoolTool, run the schooltool-server.py program from that folder:
- ./start-cando.py
- 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.