Analyzing Rails Example Application - Redmine Application

Sang Shin, sang.shin@sun.com, www.javapassion.com/rubyonrails 



In this hands-on lab, you will learn how the "redmine-0.7.0_RC1" sample Rails application is constructed. Redmine is a flexible project management web application with the following features.
Written using Ruby on Rails framework, it is cross-platform and cross-database. Redmine is open source and released under the terms of the GNU General Public License (GPL).For more information on redmine application, please go to redmine homesite.

Expected duration: 90 minutes (excluding homework)



Software Needed

Before you begin, you need to install the following software on your computer. 


OS platforms you can use

Change Log


Things to do (by Sang Shin)


Lab Exercises


Exercise 1: Build and run "Redmine" sample application


  1. Open "Redmine" NetBeans project
  2. Create database
  3. Migrate database
  4. Build and run the application

(1.1) Open "Redmine" NetBeans project



1. Open redmine-0.7.0_RC1 NetBeans project. 

                                                                                                                   return to top of exercise

(1.2) Create database


1. Refresh the Rake task list.

Figure-1.14: Refresh Rake task list

2. Create database.

Figure-1.15: Create depot_development database

                                                                                                                   return to top of exercise

(1.3) Migrate database


1. Migrate database.

Figure-1.31: Migrate database

2. Observe that the Output window displays the result of migration. (Figure-1.32 below)


Figure-1.32: Result of migration

                                                                                                                   return to top of exercise


(1.4) Build and run the application


1. Run the application.

Figure-1.41: Build and run the application

Figure-1.42: redmine-0.7.0_RC1


Figure-1.42: Perform registration


Figure-1.43: Register


Figure-1.44: Login as an admin using admin and admin as username and password


Figure-1.45: Admin page is displayed


Figure-1.46: Manager Users


Figure-1.47: Activate a registered user


Figure-1.48: A user is activated

                                                                                                                   return to top of exercise




<>

Homework Exercise (for people who are taking Sang Shin's "Java EE Programming online course")


<tbd>

                                                                                                                    return to the top