Helping voters get to know their General Election 2015 candidates.
This site combines the various outputs of Democracy Club into one place.
- Jekyll >= 2.4.0 (installation instructions)
- Python 2.7 (installation instructions)
You will also need the Python packages listed in requirements.txt
.
# clone this repo
git clone https://github.com/DemocracyClub/YourNextMP-Read.git
cd YourNextMP-Read
# install the requirements
# (you might want to use rbenv & virtualenv)
bundle
pip install -r requirements.txt
# run the build script
_scripts/build.sh
For development, only a mini version of the site is built by default.
# copy over a small selection of constituencies and people for development
python _scripts/build_data_small.py
# build the site, and start the server running
jekyll serve
To build for all constituencies, use:
jekyll serve --config _config.yml,_config_prod.yml