Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is the code base for the UK Government's e-petitions service (http://epetitions.direct.gov.uk)
branch: master
Failed to load latest commit information.
app
config
db
doc
features
lib
public Merge pull request #3 from tomski/patch-2
script
solr/conf Public source code release of e-petitions
spec Public source code release of e-petitions
spec_no_rails
vendor/plugins
.gitignore
.rspec Public source code release of e-petitions
Capfile
Gemfile Public source code release of e-petitions
Gemfile.lock Public source code release of e-petitions
LICENCE.txt
README.md Update README.md
Rakefile Public source code release of e-petitions
config.ru
jenkins_build.sh Public source code release of e-petitions

README.md

e-petitions

This is the code base for the UK Government's e-petitions service (http://epetitions.direct.gov.uk).
We have open sourced the code for you to use under the terms of licence contained in this repository.

We hope you enjoy it!

A few things to know:

You will need ruby 1.8.7

You will need to set up the database.yml You will need to run seeds.rb to seed the 'department' data required for moderation of petitions

For setting up a sysadmin user, run rake epets:add_sysadmin_user - the password must contain a mix of upper and lower case letters, numbers and special characters.

To start a solr instance, run rake sunspot:solr:start To index the models, run rake sunspot:reindex

To get the selenium tests running, make sure you're running firefox 7 as your firefox browser or alternatively, have firefox 7 in one of the following locations:

/Applications/Firefox7.app/Contents/MacOS/firefox-bin or /Applications/Firefox 7.app/Contents/MacOS/firefox-bin

Something went wrong with that request. Please try again.