App developed for iCasei portal test.
Things you may want to cover:
-
Ruby version
ruby 2.1.5p273
-
System dependencies
MongoDB service must be installed, more info www.mongodb.org/
Mongoid chose to perform to connect to dababase, more info docs.mongodb.org/ecosystem/tutorial/ruby-mongoid-tutorial/
I use bundler to manage the gems, more info bundler.io/
Open a terminal window and run this command:
$ gem install bundler
-
Configuration
$ bundle install
Edit file /config/mongoid.yml section hosts with address service mongodb
$ rails server --binding localhost
-
How to run the test suite
$ rake -test