Compare JavaScript libraries by weight (file size)
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
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