Skip to content

faraazkhan/bddatcgi

Repository files navigation

BDD @ CGI

Requirements

To run the specs or fire up the server, be sure you have these:

  • Ruby 1.9.3-p392
  • MySQL 5.x (create your own database.yml)
  • PhantomJS for JavaScript testing (brew install phantomjs)

Development

First Time Setup

After cloning, run these commands to install missing gems and prepare the database.

$ gem install bundler
$ bundle update
$ rake db:setup 

Note, rake db:sample_data loads a small set of data for development. Check out db/sample_data.rb for details.

Running the Specs

To run all ruby and jasmine specs.

$ rake

Again, with coverage for the ruby specs:

$ rake spec:coverage

Running the Application Locally

$ foreman start
$ open http://0.0.0.0:3000

Using Guard

Guard is configured to run ruby and jasmine specs, and also listen for livereload connections. Growl is used for notifications.

$ bundle exec guard

About

Lets see how far this goes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages