CanDo
562
Comment:
|
1532
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
0. `cd /usr/lib/libschooltool/schooltool` 0. `apt-get install cvs` if you don't have cvs installed 0. `export CVS_RSH=ssh` 0. `cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/cando co schooltool-fork` 0. `cp -rf schooltool-fork/src/candotoo .` 0. edit `app.py`, at the end of imports add line: `from schooltool.candotoo.app import CanDoTooContainer`. Find line that says `self.calendar = Calendar(self)`, keeping the indentation add `self['candotoo'] = CanDoTooContainer()` after it. 0. edit `configure.zcml`, at the very end of the file right before it says `</configure>`, add lines `<!-- CanDoToo -->` and `<include package=".candotoo" />`. 0. edit `browser/templates/navigation.pt`, before the line with `</ul>` add line `<li><a tal:attributes="href view/app/candotoo/@@absolute_url" i18n:translate="">CanDoToo</a></li>` 0. `rm -rf schooltool-fork` 0. `rm var/lib/schooltool/Data.fs` 0. `/etc/init.d/schooltool restart` |
Add universe and multiverse to your apt sources list (if it's not already there). When finished your sources list should look something like this: {{{deb http://archive.ubuntulinux.org/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntulinux.org/ubuntu breezy-security main restricted universe multiverse deb http://archive.ubuntulinux.org/ubuntu breezy-updates main restricted universe multiverse }}}
apt-get install msttcorefonts ca-certificates python2.3-doc python2.3-profiler xpdf
apt-get install schooltool
cd /usr/lib/libschooltool/schooltool
apt-get install cvs if you don't have cvs installed
export CVS_RSH=ssh
cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/cando co schooltool-fork
cp -rf schooltool-fork/src/candotoo .
edit app.py, at the end of imports add line: from schooltool.candotoo.app import CanDoTooContainer. Find line that says self.calendar = Calendar(self), keeping the indentation add self['candotoo'] = CanDoTooContainer() after it.
edit configure.zcml, at the very end of the file right before it says </configure>, add lines <!-- CanDoToo --> and <include package=".candotoo" />.
edit browser/templates/navigation.pt, before the line with </ul> add line <li><a tal:attributes="href view/app/candotoo/@@absolute_url" i18n:translate="">CanDoToo</a></li>
rm -rf schooltool-fork
rm var/lib/schooltool/Data.fs
/etc/init.d/schooltool restart
CanDo (last edited 2008-08-06 16:24:38 by localhost)