File: README

package info (click to toggle)
pgbadger 13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: perl: 22,613; javascript: 22,274; sh: 4; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 2,224 bytes parent folder | download | duplicates (5)
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
Resources files are collected from their respective download places as follow:

jqPlot:
-------

mkdir jqPlot-1.0.8/ && cd jqPlot-1.0.8/
wget http://www.jqplot.com/download/jquery.jqplot.1.0.8r1250.tar.gz
tar xzf jquery.jqplot.1.0.8r1250.tar.gz
cp dist/jquery.jqplot.js /home/git/pgbadger/resources/
cp dist/jquery.jqplot.css /home/git/pgbadger/resources/
cp dist/jquery.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.pieRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.barRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.dateAxisRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.canvasTextRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.categoryAxisRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.canvasAxisTickRenderer.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.highlighter.js /home/git/pgbadger/resources/
cp dist/plugins/jqplot.cursor.js /home/git/pgbadger/resources/
cd ..

Bootstrap:
----------

wget https://github.com/twbs/bootstrap/archive/v3.3.7.zip
unzip v3.3.7.zip bootstrap-3.3.7/dist/js/bootstrap.js bootstrap-3.3.7/dist/css/bootstrap.css

cp bootstrap-3.3.7/dist/js/bootstrap.js  /home/git/pgbadger/resources/
cp bootstrap-3.3.7/dist/css/bootstrap.css  /home/git/pgbadger/resources/

Fontawesome:
------------
http://fontawesome.io/3.2.1/assets/font-awesome.zip
unzip font-awesome.zip font-awesome/css/font-awesome.css font-awesome/fonts/fontawesome-webfont.ttf

cp font-awesome/css/font-awesome.css /home/git/pgbadger/resources/fontawesome.css
cp font-awesome/font/FontAwesome.otf /home/git/pgbadger/resources/font/

Note that the hyphen is removed from font-awesome.css during the copy for
backward compatibility.

bean:
-----

wget https://github.com/fat/bean/archive/v1.0.14.tar.gz
tar xzf v1.0.14.tar.gz  bean-1.0.14/src/bean.js

cp bean-1.0.14/src/bean.js /home/git/pgbadger/resources/

underscore.js:
--------------

wget http://underscorejs.org/underscore.js -O /home/git/pgbadger/resources/underscore.js

Then file are minified using yui-compressor and the font embedded using the
Perl script tools/updt_embedded_rsc.pl This script also embedded all minified
files into the pgbadger Perl script.