A web-based shopping cart application.
Ruby HTML Gherkin CSS Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Depot

Code Climate Build Status Dependency Status Coverage Status

A web-based shopping cart application

Installation

git clone git@github.com:dskecse/depot2.git
cd depot2
cp config/database.yml.example config/database.yml
cp config/app_config.yml.example config/app_config.yml
cp config/newrelic.yml.example config/newrelic.yml
bundle install --without production
rake db:setup

Testing

Chrome driver can be used instead of Firefox for acceptance tests. Download prebuilt ChromeDriver server:

wget http://chromedriver.googlecode.com/files/chromedriver_linux64_23.0.1240.0.zip
sudo unzip path_to_chromedriver/chromedriver_linux64_23.0.1240.0.zip -d /usr/local/bin/

or download it manually from https://code.google.com/p/chromedriver/downloads/list.

Then just run tests in CHROME environment:

CHROME=1 bundle exec rake

Test coverage is disabled by default. To enable it make sure to run tests in COVERAGE environment:

COVERAGE=1 bundle exec rake