Nimbl Scrum Tool
Before generating your application, you will need:
- The Ruby language (version 1.9.3)
- Rails 3.2
Be sure to see Installing Rails 3.2 for detailed instructions and advice.
About Required Gems
The application uses the following gems:
Install the Required Gems
Install the required gems on your computer:
$ bundle install
You can check which gems are installed on your computer with:
$ gem list --local
Keep in mind that you have installed these gems locally. When you deploy the app to another server, the same gems (and versions) must be available.
Create a Default User
Set Up a Database Seed File
You’ll want to set up a default user so you can easily log in to test the app. You can modify the file db/seeds.rb for your own name, email and password:
puts 'SETTING UP DEFAULT USER LOGIN' user = User.create! :name => 'First User', :email => 'firstname.lastname@example.org', :password => 'please', :password_confirmation => 'please' puts 'New user created: ' << user.name user2 = User.create! :name => 'Second User', :email => 'email@example.com', :password => 'please', :password_confirmation => 'please' puts 'New user created: ' << user2.name user.add_role :admin
Use the defaults or change the values for name, email, and password as you wish.
If you’ve generated the application with the option to install the Devise
:confirmable module, there will be an extra attribute
confirmed_at => Time.now for creation of a user.
Set the Database
Prepare the database and add the default user to the database by running the commands:
$ bundle exec rake db:migrate $ bundle exec rake db:seed
Set the database for running tests:
$ bundle exec rake db:test:prepare
Public Domain Dedication
This work is a compilation and derivation from other previously released works. With the exception of various included works, which may be restricted by other licenses, the author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this code under copyright law.