Skip to content
robmckinnon edited this page Sep 13, 2010 · 8 revisions

git clone git@github.com:robmckinnon/poli-people.git

cd poli-people

git submodule init

git submodule update

gem install bundler

gem bundle

If you have problems with mysql, trying creating a build_options.yml file containing:
mysql-config: /usr/local/lib/mysql

You can then point the bundler at build_options.yml:
gem bundle —build-options build_options.yml

cp config/database.yml.example config/database.yml

sudo mysqladmin create poli-people_development

sudo mysqladmin create poli-people_test

rake db:migrate

rake constituencies_uk:load_data

AUTOFEATURE=true ./bin/autospec

Clone this wiki locally