A web-based shopping cart application.
Ruby HTML Cucumber CSS Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
features
lib
log
public
script
spec
vendor/assets
.coveralls.yml
.gitignore
.rspec
.ruby-gemset
.ruby-version
.simplecov
.travis.yml
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

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