github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

robertbrook / findyourmp

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 10
    • 0
  • Source
  • Commits
  • Network (0)
  • Wiki (8)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • gh-pages
    • master ✓
    • panic_button
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Find Your MP — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

diff_data task checks input files exist 
lizconlan (author)
Mon Feb 01 04:37:14 -0800 2010
commit  8618e161f40886996afd084a3b55affd12356e50
tree    a188c19b2c0f7ac0fbda19465b3f9f251e4d1f39
parent  0957fbd1ca4ee27c279c1e803f47cf39f83e4a38
findyourmp /
name age
history
message
file .gitignore Wed Jun 24 02:20:50 -0700 2009 updated ignore file [robmckinnon]
file .gitmodules Mon Jun 15 06:32:06 -0700 2009 added xss_terminate plugin [robmckinnon]
file Capfile Tue Apr 14 14:33:33 -0700 2009 exposed passenger's reporting tools via cap [lizconlan]
file README Thu Jun 25 07:42:50 -0700 2009 slightly better version of README file [lizconlan]
file Rakefile Tue Aug 12 08:25:42 -0700 2008 generated project using edge rails [robmckinnon]
directory app/ Wed Dec 23 04:17:43 -0800 2009 added Google Analytics code [lizconlan]
file config.ru Tue Mar 24 09:54:03 -0700 2009 updated configs, scripts and javascripts for ra... [robmckinnon]
directory config/ Mon Oct 26 04:28:38 -0700 2009 when creating postcode diff, move old diff file... [robmckinnon]
file cucumber.yml.example Fri Nov 28 09:16:06 -0800 2008 moved cucumber.yml to cucumber.yml.example [robmckinnon]
directory db/ Fri Aug 21 03:49:01 -0700 2009 added Manual (non-ONS) Postcode functionality [lizconlan]
directory features/ Mon Oct 26 07:38:48 -0700 2009 fixed failing features [lizconlan]
directory lib/ Mon Feb 01 04:37:14 -0800 2010 diff_data task checks input files exist [lizconlan]
directory public/ Thu Nov 26 03:24:22 -0800 2009 attempting to fix Vista/IE display bug that cau... [lizconlan]
directory script/ Fri Mar 20 04:24:08 -0700 2009 now using cucumber v0.2.0, rspec+rspec_rails 1.... [robmckinnon]
directory spec/ Mon Oct 26 07:15:08 -0700 2009 fixing bug with manual postcode logic [lizconlan]
directory stories/ Tue Aug 12 08:26:22 -0700 2008 imported edge rspec, rspec_on_rails, haml and r... [robmckinnon]
directory vendor/ Mon Aug 03 11:59:00 -0700 2009 email header names in more compatible format [lizconlan]
README
sudo mysqladmin create findyourmp_test
sudo mysqladmin create findyourmp_development
sudo mysqladmin create findyourmp_production

git pull

git submodule init

git submodule update

mv config/database.yml.example config/database.yml

sudo gem install unicode

rake db:migrate:reset

# the steps below requires data which is not in git repository
# files need to end up in the /data directory

rake fymp:constituencies
rake fymp:members

rake fymp:parse
rake fymp:populate

rake fymp:load_postcode_districts

rake friendly_id:make_slugs MODEL=Constituency

# To get the emergency server shutdown to work, you need to run the following...
#
# sudo visudo
#
# ...and add in the next 2 lines, substituting [SITE_CONTEXT_USER] with the actual user or group the site runs as
#
# Cmnd_Alias     APACHE = /etc/init.d/apache2 start, /etc/init.d/apache2 stop, /etc/init.d/apache2 restart, 
/etc/init.d/apache2 reload
# [SITE_CONTEXT_USER] ALL=NOPASSWD: APACHE


Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server