Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
crowdsourced karmic scores for corporations
JavaScript Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features
lib
log
psds
public
script
selenium_tests
spec
stories
test
tmp
vendor
.gems
.gitignore
.gitignore.orig
Capfile
README
README.rdoc
Rakefile
citizensmarket_development_2009-02-25.sql
clear_memchached.rb
issues_2009-03-24.sql
mkmf.log
snippets.txt

README.rdoc

Citizens Market

Write a description for the project

Getting your system ready for development

First clone the sources:

git clone git@github.com:citizensmarket/citizensmarket.git
cd citizensmarket

Install MySQL if you don't have it already

cp config/database.yml.sample config/database.yml

Open database.yml with an editor and make sure it has the correct settings to connect to MySQL

Install Sphinx native library www.sphinxsearch.com/docs/current.html#installing

sudo gem install thinking-sphinx
sudo gem install ruby-debug
rake db:create
rake db:migrate
rake db:populate:small
Connect to mysql and create database citizen_test character set utf8 collate utf8_general_ci;
rake db:test:prepare
sudo apt-get install memcached
sudo gem install memcache-client
sudo gem install system_timer

Testing environment

There are several gems you need to have installed for Cucumber and RSpec to work. You do that by executing:

sudo rake gems:install RAILS_ENV=cucumber

Run Tests

spec spec
cucumber
Something went wrong with that request. Please try again.