stefanrush / weightof.it

Compare JavaScript libraries by weight (file size)
http://weightof.it
14 stars 0 forks source link

weightof.it

Compare JavaScript libraries by weight (file size)

Setup

Clone project with:

git clone git@github.com:stefanrush/weightof.it

Enter project folder with:

cd weightof.it

Create application.yml configuration file with:

cp config/application.example.yml config/application.yml

Add personal configuration settings to config/application.yml.

Install dependencies with:

bundle install

Setup database with:

bundle exec rake db:create db:migrate

Seed database with:

bundle exec rake db:seed

Testing

Switch Capybara JavaScript driver to Selenium if PhantomJS isn't installed by updating spec/support/capybara.rb to include:

Capybara.javascript_driver = :selenium

Run test suite with:

bundle exec rspec

Run guard with:

bundle exec guard