-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
69 lines (50 loc) · 2.17 KB
/
README
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
*Requirements*
This software was built and tested on Arch Linux ARM, but other
Linux distributions should be fine.
You will need the following dependencies to build the software:
Needed for both Victoria and Queensland
-wget
-make
-tar
Only needed for Victoria:
-The docx2txt.pl script, written by Sandeep Kumar, stored as
/usr/bin/docx2txt.pl (or otherwise in your PATH). I'm using
version 1.4.
-zlib (including the -dev packages on Debian/Ubuntu). I'm using
version 1.2.8.
-GCC. I'm using version 6.2.1 20160830.
Only needed for Queensland:
-Python 3
-The Python 3 version of pdfminer, which you can install using pip:
$ pip install pdfminer.six
I'm using version 20160614.
On Arch, you can install these packages with the command:
# pacman -S docx2txt zlib gcc wget make tar python pip
# pip install pdfminer.six
*Build*
To build the website, you will need some data from the Parliament websites.
While the Queensland Parliament documentation can be downloaded automatically,
the Victorian Parliament documentation is moved quite frequently on the server,
and I have not yet found a way to download it automatically.
To get the Queensland documentation, run the command:
$ make qlddocs
To get the Victorian documentation, download all of the docx files from:
http://www.parliament.vic.gov.au/assembly/votes-aamp-proceeding-minutes
http://www.parliament.vic.gov.au/council/minutes-of-proceedings
Please keep the original filenames (but remove anything after the "docx").
To build the website, run the commands:
$ make release
If you just want to make the Victorian or Queensland websites, you
can use "make vicrelease", and "make qldrelease".
*Installing*
If you just want to keep the website for personal viewing, just open
index.html in a webbrowser. The website will work just as if you were
accessing it online.
If you want the website to be accessible on the internet, you'll need
a webserver, such as Apache.
To install, uncompress parliamenttracker_website_current.tar.xz in the
root directory of your webserver.
*License*
Victorian Parliament Tracker is licensed under the GNU Affero General
Public License Version 3.0 or (at your option) any later version.
Copyright (C) Riley Baird 2017