blob: b6a5c65c024825794d69133e2d6aaafaff26e381 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
=====================================
JClicBrowser
=====================================
JClicBrowser is a small pygtk app to search
and download jclic activities.
You can select some apps and send to user account.
This app is to being used in a PXES/LTSP classroom.
JClicBrowser is GPL ;)
Mario Izquierdo <mariodebian@gmail.com>
=============
Configuration
=============
You have to install sudo app in your system to
have enought privileges to copy/create library files in every user's home.
Open a terminal and su to root, then exec "visudo"
# visudo
Add a line like this:
#=============================jclic teacher==================================
YOUR_USERNAME ALL=NOPASSWD: /usr/bin/jclicbrowser-sudo
#============================================================================
in YOUR_USERNAME put your system username.
========
Database
========
When jclic-browser runs first time it will create an empty sqlite
database in:
/home/_USERNAME_/.jclic_browser.db
To populate database exec this:
$ sqlite ~/.jclic_browser.db < /usr/share/jclic_browser/utils/data.sql
Database is very big and take a few time to populate.
The file data.sql contains sql syntax to populate 3 tables:
jclic = activities table
zip_uls = url of each zip file
img_urls = url of each gif file
To update data.sql with more recent information need to run
some scripts:
$ /usr/share/jclic_browser/utils/jclic.sh
This ask to download 3 different things:
* List of all activities
* All zip
* All img
If you want to download all zips avalaible need at least 800 Mb
and some internet bandwich.
To recreate data.sql run as root:
# /usr/share/jclic_browser/utils/mostrar-infos.sh
This uncompress every zip found and read description of xml included file
to build data.sql with updated web jclic data.
Author give data.sql updated to 2 Mar 2006, and will update file
if needed.
For suggestions and questions please send mail to:
mariodebian@gmail.com
Subject Jclic-browser
Language spanish or english
|