CanDo

Differences between revisions 3 and 12 (spanning 9 versions)
Revision 3 as of 2005-09-05 14:19:15
Size: 465
Editor: 158
Comment:
Revision 12 as of 2005-09-05 16:09:06
Size: 1530
Editor: ip24-254-94-164
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 5: Line 4:
  0. `apt-get install ...`   0. `apt-get install msttcorefonts ca-certificates python2.3-doc python2.3-profiler xpdf`
  0. `apt-get install schooltool`
  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
  1. 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 }}}

  1. apt-get install msttcorefonts ca-certificates python2.3-doc python2.3-profiler xpdf

  2. apt-get install schooltool

  3. cd /usr/lib/libschooltool/schooltool

  4. apt-get install cvs if you don't have cvs installed

  5. export CVS_RSH=ssh

  6. cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/cando co schooltool-fork

  7. cp -rf schooltool-fork/src/candotoo .

  8. 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.

  9. edit configure.zcml, at the very end of the file right before it says </configure>, add lines <!-- CanDoToo --> and <include package=".candotoo" />.

  10. 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>

  11. rm -rf schooltool-fork

  12. rm var/lib/schooltool/Data.fs

  13. /etc/init.d/schooltool restart

CanDo (last edited 2008-08-06 16:24:38 by localhost)