Write to your MP, MEP, & other elected representatives.
PHP HTML Perl CSS Bluespec JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
commonlib @ dd132fd
conf
db
doc
perllib
phplib Add 2015 report data, make necessary tweaks to report pages. Jun 13, 2016
t
templates
web-admin
web
.gitignore
.gitmodules
LICENSE.txt
README.md

README.md

WriteToThem

WriteToThem lets you contact elected representatives in the United Kingdom.

If you want to build your own site for writing to people, we recommend you take a look at WriteIt instead. WriteToThem is a legacy project with many particular quirks, whereas WriteIt was built from the start to be more flexible and easier to use.

Developing WriteToThem

Stylesheets

WriteToThem uses the Foundation framework, and styles are compiled using Compass. Before you start editing files you will need some prerequisites, which can be installed as follows (you may need to use sudo):

  • gem install zurb-foundation will install the necessary components of the framework.
  • gem install compass will install Compass, ready to compile assets.

The Sass files used to compile styles are located in web/static/sass. To compile them, cd to the web/static directory and run compass compile. If you are making frequent changes, compass watch will watch the directory for changes and recompile when necessary.

Acknowledgements

Thanks to Browserstack who let us use their web-based cross-browser testing tools for this project.