Analyzing Rails Example Application - Redmine Application

Sang Shin, 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 JDK and NetBeans IDE software on your computer as described in  here.


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





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

2. Register a new user.

Figure-1.42: Perform registration

Figure-1.43: Register



3. Log in as an administrator.

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


Figure-1.45: Admin page is displayed

4. Perform Administration task - user management.


Figure-1.46: Manager Users

5. Activate a registered user.


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