Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 626 Bytes

File metadata and controls

20 lines (18 loc) · 626 Bytes

This README would normally document whatever steps are necessary to get the application up and running.

Brief instructions to get started

$ git clone git@github.com:dmonojit/sample_app.git
$ cd sample_app
$ rvm install 2.2.2
$ gem install bundler -v 1.10.6
$ bundle install
$ bundle exec rake db:create db:migrate     #Database Migration
$ bundle exec rails s -p 3000               #Start server on port 3000, change the port number if required

In browser - http://localhost:3000/saveks

To run backend tests

RAILS_ENV=test bundle exec rake db:migrate
ruby test/controllers/saveks_controller_test.rb