CanDo
1346
Comment:
|
1455
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
0. edit `/etc/schooltool/schooltool.conf`, find the line that says "web 7080", and change it to "web 80" | |
Line 14: | Line 13: |
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` |
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
CanDo (last edited 2008-08-06 16:24:38 by localhost)