Skip to content

Commit 11fde6f

Browse files
committed
Spring cleaning of code.
1 parent 979d0bd commit 11fde6f

16 files changed

+114
-10708
lines changed

LICENSE

Lines changed: 21 additions & 340 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,45 @@
1-
GotToVote-RCI
2-
=============
1+
GotToVote
2+
==========
33

4-
*Demo: http://rci.gottovote.cc*
4+
_Enabling citizens to get to the ballot box informed and ready._
55

6-
[GotToVote](http://gottovote.cc/)'s Registration Centres Information (R.C.I.) platform.
6+
GotToVote started off as a simple experiment to make data otherwise locked in government, useful to the general public.
77

8-
#### Installation
8+
When the Independent Electoral & Boundaries Commission released voter registration centres locations information in the 2013 Kenyan Elections, they made it available as a PDF on their otherwise always unavailable website. The Code4Kenya fellows then set out in 24hrs to create an experiment that was so simple and direct with this PDF that it went viral without any marketing campaign.
99

10-
You can find installation docs [here](http://gottovote.cc/docs).
10+
The PDF was scraped and made available in the form of a website with three drops downs. This allowed a citizen to drill down very easily according to administrative boundaries and decide which is the nearest voter registration centre.
1111

12+
This unprecedented ease of finding your registration centre spurred adoption of GotToVote's simple code in Zimbabwe, Ghana and Malawi. Code4Africa continues to this day in ensuring citizens get to the ballot box prepared by adding more arsenal of what GotToVote can offer and has grown to include Peace Messaging, Polling Results and Voter Registration Confirmation (VRC).
1213

14+
Please check out our much prettier presentation of GotToVote here: https://gottovote.cc/
1315

16+
17+
### Installation
18+
19+
We're are still working on them but you can find the shell of unloved installation docs [here](http://gottovote.cc/docs).
20+
21+
---
22+
23+
### License
24+
25+
MIT License
26+
27+
Copyright (c) 2012 Code for Africa
28+
29+
Permission is hereby granted, free of charge, to any person obtaining a copy
30+
of this software and associated documentation files (the "Software"), to deal
31+
in the Software without restriction, including without limitation the rights
32+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33+
copies of the Software, and to permit persons to whom the Software is
34+
furnished to do so, subject to the following conditions:
35+
36+
The above copyright notice and this permission notice shall be included in all
37+
copies or substantial portions of the Software.
38+
39+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45+
SOFTWARE.

_config.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
# GotToVote Config
2-
country: "Kenya"
3-
election_year: "2017"
1+
title: GotToVote Kenya
2+
description:
43

5-
registration_end_date: "-"
4+
country: Kenya
5+
election_year: 2017
66

7-
api_key: "AIzaSyAwvkIls5mQybyp2R3g4FGiVetNdeVjUeE"
8-
# table_id: "1CSlnHwpe8qTpBAoSiwZAAH7PVbV0w9kRkvUypmXP"
9-
table_id: "1Z8E12VbKZNAbiAsBBBgEcb3CiuIqDyaa-cdXQLq9"
7+
registration_end_date: '-'
8+
9+
api_key: AIzaSyAwvkIls5mQybyp2R3g4FGiVetNdeVjUeE
10+
table_id: 1Z8E12VbKZNAbiAsBBBgEcb3CiuIqDyaa-cdXQLq9
1011

1112
url: https://kenya.gottovote.cc
1213
enforce_ssl: kenya.gottovote.cc
1314

14-
google_analytics: 'UA-36749298-1'
15-
16-
openafrica_url: 'http://africaopendata.org/dataset/voter-registration-2016'
17-
18-
# ------------------------------------------------------------------------------
19-
# Jekyll Config
20-
21-
# Handling Reading
22-
safe: true
15+
google_analytics: UA-36749298-1
2316

24-
# Conversion
25-
highlighter: rouge
17+
openafrica_url: http://africaopendata.org/dataset/voter-registration-2016

_layouts/default.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
33
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
44
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5-
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
66
<head>
77
<meta charset="utf-8">
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9-
<title>GotToVote! {{ site.country }} | {{ page.title }}</title>
10-
<meta name="description" content="Find the registration centre nearest to you.">
9+
<title>{{ site.title }}</title>
10+
<meta name="description" content="{{ site.description }}">
1111
<meta name="viewport" content="width=device-width">
12-
<meta property="og:image" content="{{ site.github.url }}/logo_3.png"/>
12+
13+
<!-- TODO: Better OG:tags -->
14+
<meta property="og:image" content="{{ site.url }}/logo.png"/>
1315

1416
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
1517

@@ -20,12 +22,10 @@
2022
</script>
2123

2224
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
25+
26+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
27+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
2328

24-
<link rel="stylesheet" href="/css/normalize.css">
25-
<link rel="stylesheet" href="/css/main.css">
26-
<link rel="stylesheet" href="/css/search.css">
27-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
28-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
2929
<link rel="stylesheet" href="/css/style.css">
3030

3131
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
@@ -65,10 +65,9 @@ <h2 class="text-muted">
6565

6666
<!-- Scripts -->
6767

68-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
69-
<script>window.jQuery || document.write('<script src="/js/vendor/jquery-1.11.3.min.js"><\/script>')</script>
68+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
7069
<script src="/js/plugins.js"></script>
71-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
70+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
7271

7372
{% if page.custom_js %}
7473
{% for js_file in page.custom_js %}

0 commit comments

Comments
 (0)