The first of the GotToVote! components to be built. This allows easy display and finding of registration centers.
Demo: http://rci.gottovote.cc/
GotToVote! Registration Centres uses:
As such, you would need Github and Google accounts respectively. Both are free.
To test the webserver on your own machine, you will need to install Jekyll.
Start by creating a fork of GotToVote! RCI repository.
Once done you can clone your version onto your local machine.
git clone https://github.com/[username]/GotToVote-RCI.git
To see it in action almost immediately run:
cd GotToVote-RCI
jekyll serve
That’s it. If you visit http://localhost:4000/ you’ll see a vanilla version of GotToVote! Ghana.
Make sure that the data is the following column order and format:
Id
Region_Code
:
Region_Name
:
District_Code
:
District_Name
:
Electoral_Code
:
Electoral_Name
:
Reg_Centre_Code
:
Reg_Centre_Name
:
Other_Polling_Stations
(Optional):
Sample of the above data structure can be found here.
You can use whatever tools you wish to use for the structuring of data, and we recommend using either Google Sheets or Open Refine, or a combination of both. MS Excel is fine too.
Once done, export the data in CSV or TSV format.
The data for GotToVote! Registration Centres lives on Fusion Tables. If you’re not familiar with Google Fusion Tables, try the Tutorials.
Create a new fusion table and Import the CSV (or TSV) from your computer.
The Fusion Tables REST API provides an easy way to query our table without having to load the entire dataset.
For GotToVote! Registration Centres, we need two things:
Follow the getting started guide here for more information.
So that the data is accessible, make sure the table access permissions is not Private.
Once done, edit the _config.yml
file as follows:
# GotToVote Config
country: "YOUR_COUNTRY_NAME"
election_year: "ELECTION_YEAR"
registration_end_date: "REGISTRATION_END_DATE"
api_key: "YOUR_GOOGLE_API_KEY"
table_id: "YOUR_FUSION_TABLE_ID"
google_analytics: 'YOUR_GOOGLE_ANALYTICS_TRACKER'
...
Now you’re ready to rumble. If you would like to see the platform in action on your local machine, simply open the folder in terminal or command prompt and run jekyll serve
. You should then be able to see your version of GotToVote! Registration Centres on http://localhost:4000/
.
To deploy using Github Pages, just commit and push your latest changes and the platform should be available at http://[YOUR_USERNAME].github.io/GotToVote-RCI/
To use a custom URL e.g mycountry2015.org follow the steps here.
We are also very much willing to make mycountry.gottovote.cc available to you so please reach out to hello[at]gottovote[dot]cc.
Any questions on setting up GotToVote? Get in touch at support[at]gottovote[dot]cc
Enabling citizens to get to the ballot box informed and ready.
GotToVote started off as a simple experiment to make data otherwise locked in government, useful to the general public.
Now we seek to make a larger impact in the democratic process by partnering with government, civil society and media organisation to improve the entire process.