Install SchoolTool on Debian
Hey,
I need to install ScholTool on a debian machine.
It doesn't work via apt-get because of the dependencies.
Using add-apt-repository also doesn't work because this comand does not exist in debian
Is there any way around it?
Regards
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gediminas Paulauskas
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hey,
I managed to install it on Debian by following the readme file that comes with the package and it's working.
The problem is, it doesn't contain the Intervention, Schoolbook, Journal and CanDo.
Can someone please help?
I need to have this done by friday
Thanks in advance
Revision history for this message
|
#2 |
Hello,
Although it should be possible to install SchoolTool on Debian from debs, because they are available for Ubuntu, that is not easy. Theoretically, you can download all schooltool debs and some 80 zope.* packages that are missing from Debian and install them manually, there is no supported repository that contains everything in one place.
But you can run from source, it should work the same way as on our development Ubuntu machines.
To get schooltool plus all the recommended plugins, look at the umbrella project https:/
It will download the other projects and they will be automatically available.
If you have some data in your instance already, copy the 'instance' directory to the new location, and run
$ bin/make-
before
$ make run
If you haven't set up cache directories in ~/.buildout/, also copy the 'eggs' directory before running 'make'.
Revision history for this message
|
#3 |
Thank you for your answer.
The installation is no longer the problem since i have it already installed
and running.
The problem now, as I said, is the missing plugins in the
schooltool-
When I log in as teacher I only have the tabs 'home' and 'calendar'.
I already created and assign years, terms, courses, sections, students and
teachers but I do not have the Intervention, Journal, Gradebook and CanDo
since those folders don't even exist in the directory
schooltool-
I already tried place the ubuntu ones on this folder but nothing happened.
On Wed, Jul 31, 2013 at 11:16 AM, Gediminas Paulauskas <
<email address hidden>> wrote:
> Your question #233240 on SchoolTool changed:
> https:/
>
> Status: Open => Answered
>
> Gediminas Paulauskas proposed the following answer:
> Hello,
>
> Although it should be possible to install SchoolTool on Debian from
> debs, because they are available for Ubuntu, that is not easy.
> Theoretically, you can download all schooltool debs and some 80 zope.*
> packages that are missing from Debian and install them manually, there
> is no supported repository that contains everything in one place.
>
> But you can run from source, it should work the same way as on our
> development Ubuntu machines.
>
> To get schooltool plus all the recommended plugins, look at the umbrella
> project https:/
> It will download the other projects and they will be automatically
> available.
>
> If you have some data in your instance already, copy the 'instance'
> directory to the new location, and run
>
> $ bin/make-
>
> before
>
> $ make run
>
> If you haven't set up cache directories in ~/.buildout/, also copy the
> 'eggs' directory before running 'make'.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
Cumprimentos,
Bruno Pinto
Revision history for this message
|
#4 |
OK, I described alternative way to install, that is not documented in the http://
But there is an easy way to add plugins to your existing installation, described in http://
Edit buildout.cfg, and add the names of plugins to [package] section.
[package]
eggs =
schooltool
Then run `make`.
You can skip some plugins if you don't need them.
Or you can delete them later. However, I think there might be a problem disabling the cando plugin, so it is a good idea to backup your instance/var directory before enabling cando. Others can be easily added or removed.
Revision history for this message
|
#5 |
It keeps giving me an error because of zope.
Maybe I've put the gradebook in the wrong directory.
Where should i put it?
Don't you guys have a schooltool package already with the plugins so when i
run 'sudo make run' it automatically works?
On Wed, Jul 31, 2013 at 12:01 PM, Gediminas Paulauskas <
<email address hidden>> wrote:
> Your question #233240 on SchoolTool changed:
> https:/
>
> Status: Open => Answered
>
> Gediminas Paulauskas proposed the following answer:
> OK, I described alternative way to install, that is not documented in
> the http://
>
> But there is an easy way to add plugins to your existing installation,
> described in http://
>
> Edit buildout.cfg, and add the names of plugins to [package] section.
>
> [package]
> eggs =
> schooltool
> schooltool.
> schooltool.
> schooltool.
> schooltool.cando
>
> Then run `make`.
>
> You can skip some plugins if you don't need them.
>
> Or you can delete them later. However, I think there might be a problem
> disabling the cando plugin, so it is a good idea to backup your
> instance/var directory before enabling cando. Others can be easily added
> or removed.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
Cumprimentos,
Bruno Pinto
Revision history for this message
|
#6 |
I need to see an error to tell what is wrong.
Plugins are separate because they are... well, plugins. They are downloaded and enabled the same way as the other zope dependencies if you add them like described in comment #4
Revision history for this message
|
#7 |
Ok so this is what i have so far:
- Downloaded and extracted schooltool-
- Downloaded and extracted gradebook-
- Placed the content of the gradebook directory to the schooltool directory
and merged the directories
- Edited buildout.cfg:
- $ sudo make run
For like 3 minutes things are going well, the program is compiling but then
I get the following error:
Installing test.
The version, 2.5.1, is not consistent with the requirement, 'z3c.form>=2.6'.
While:
Installing test.
Error: Bad version 2.5.1
make: *** [.installed.cfg] Error 1
On Wed, Jul 31, 2013 at 9:16 AM, Gediminas Paulauskas <
<email address hidden>> wrote:
> Your question #233240 on SchoolTool changed:
> https:/
>
> Gediminas Paulauskas posted a new comment:
> I need to see an error to tell what is wrong.
>
> Plugins are separate because they are... well, plugins. They are
> downloaded and enabled the same way as the other zope dependencies if
> you add them like described in comment #4
>
> --
> You received this question notification because you asked the question.
>
--
Cumprimentos,
Bruno Pinto
Revision history for this message
|
#8 |
You don't need to download gradebook.tar.gz or extract it.
Adding 'schooltool.
The conflicting versions error happened because you mismatched the versions of gradebook and schooltool. Not sure what you mean by 'merged the directories' but it looks like you have taken base.cfg from the older gradebook.
Try again from the start.
- rename your sandbox to backup
- download schooltool-
- tar xzf schooltool-
- cd schooltool-2.4.2
- copy the instance directory from backup
- edit buildout.cfg and change the package section in it to read
[package]
eggs = schooltool schooltool.
- make
- make run
Revision history for this message
|
#9 |
It's working,
Thank you so much you guys are awesome.
Can't believe how easy that was. My bad.
Just one more thing, where can I edit the .po files for the plugins?
Revision history for this message
|
#10 |
By the way, if you guys are interested i developped a portuguese language
pack because the one you have is very incomplete and poorly translated.
This is Portuguese from Portugal so it should go on the pt directory.
Translations:
schooltool
gradebook
intervention
gradebook
I didn't translate CanDo because I don't need it, but if you guys want I'll
translate it as well.
It's based on the previously existent portuguese .po so the credit is not
all mine.
Revision history for this message
|
#11 |
Oops, I mean't
schooltool
gradebook
intervention
journal
Revision history for this message
|
#12 |
Translations are inside the "eggs" (packages) downloaded. Where they are, depends on your setup – whether you used buildout cache or not. Here I tried to make one command that finds all the locales directories:
$ for plugin in $(grep 'eggs/schooltool' bin/start-
/home/menesis/
/home/menesis/
/home/menesis/
/home/menesis/
/home/menesis/
/home/menesis/
And yes, we are very much interested in any translations. You can upload them yourself and get the credit for strings you translated. Go to https:/
Revision history for this message
|
#13 |
Thanks Gediminas Paulauskas, that solved my question.
Revision history for this message
|
#14 |
Hey,
I've already uploaded schooltool.po, schooltool.
schooltool.
I can't upload schooltool.
language to this plugin.
Anyway, i'm attaching the .po to this mail so you can upload it.
Anything you need feel free to contact me.
Thanks again for your help.
Best regards,
Bruno Pinto