|
|
@@ -16,22 +16,48 @@ |
|
|
|
%p Every page on this website prints beautifully. |
|
|
|
|
|
|
|
%p |
|
|
|
The council candidates' data comes from Sutton Council who also provided information on council wards and parliamentary constituencies. |
|
|
|
The council candidates' data comes from |
|
|
|
%a{ :href => "http://www.sutton.gov.uk/index.aspx?articleid=451" }Sutton Council |
|
|
|
\ who also provided information on council wards and parliamentary constituencies. |
|
|
|
|
|
|
|
%p |
|
|
|
This site is written in Ruby using the Sinatra framework. |
|
|
|
This site is written in |
|
|
|
%a{ :href => "http://www.ruby-lang.org/en/" }Ruby |
|
|
|
\ using the |
|
|
|
%a{ :href => "http://www.sinatrarb.com/" }Sinatra framework. |
|
|
|
|
|
|
|
%p |
|
|
|
The code for this website is |
|
|
|
%a{ :href => "http://github.com/adrianshort/Sutton-Elections" } open source and managed on Github. |
|
|
|
It is hosted by Heroku. |
|
|
|
%a{ :href => "http://github.com/adrianshort/Sutton-Elections" }open source and managed on Github. |
|
|
|
It is hosted by |
|
|
|
%a{ :href => "http://heroku.com/" }Heroku. |
|
|
|
|
|
|
|
%p |
|
|
|
The postcode lookup is done by UK Postcodes using open data from Ordnance Survey enhanced by MySociety. I use the Ruby Pat gem to access the postcodes API. |
|
|
|
The postcode lookup is done by |
|
|
|
%a{ :href => "http://www.uk-postcodes.com/" }UK Postcodes |
|
|
|
using open data from |
|
|
|
%a{ :href => "http://www.ordnancesurvey.co.uk/oswebsite/opendata/" }Ordnance Survey |
|
|
|
enhanced by |
|
|
|
%a{ :href => "http://parlvid.mysociety.org:81/os/" }MySociety |
|
|
|
\. I use the Ruby |
|
|
|
%a{ :href => "http://github.com/steflewandowski/pat" }Pat gem |
|
|
|
to access the postcodes API. |
|
|
|
|
|
|
|
%p |
|
|
|
The page templates use Haml and SprySoft's Variable Grid System. The database is SQLite for development and PostgreSQL for production, abstracted through DataMapper. |
|
|
|
The page templates use |
|
|
|
%a{ :href => "http://haml-lang.com/" }Haml |
|
|
|
and SprySoft's |
|
|
|
%a{ :href => "http://www.spry-soft.com/grids/" }Variable Grid System |
|
|
|
\. The database is |
|
|
|
%a{ :href => "http://www.sqlite.org/" }SQLite |
|
|
|
for development and |
|
|
|
%a{ :href => "http://www.postgresql.org/" }PostgreSQL |
|
|
|
for production, abstracted through |
|
|
|
%a{ :href => "http://datamapper.org/" }DataMapper. |
|
|
|
%p |
|
|
|
Source control and deployment is done with Git. |
|
|
|
Source control and deployment is done with |
|
|
|
%a{ :href => "http://git-scm.com/" }Git. |
|
|
|
|
|
|
|
%p The fonts are Museo Slab and Museo Sans served by Typekit. |
|
|
|
%p |
|
|
|
The fonts are Museo Slab and Museo Sans served by |
|
|
|
%a{ :href => "http://typekit.com/" }Typekit. |