Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

74
2010/11/21 Nguyen Vu Hung Information Management with Redmine Nguyen Vu Hung [email protected] 2010/11/21

Transcript of Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

Page 1: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Information Management with Redmine

Nguyen Vu Hung

[email protected]

2010/11/21

Page 2: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Change History

No Date Author Details Slides

1 2010/10/09 vuhung Newly created All

2 2010/10/12 vuhung Updated 5, 80

3 2010/11/21 Vuhung Updated

Page 3: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Agenda

• Project Management Overview• IT Project Management• Life Cycle• Development Models• Redmine Installation• Process (Quy trình)• Comparison with other products• Ticket Driven Development• Basic Redmine Features and Administration• Redmine Customization for Real World Process• Workflow• Useful Plugins

Page 4: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Project Management (PM) Overview

• Project constraints– Scope (What to do?)– Time (Deadline)– Budget (Money, Facilities, Human Resources)

• PM (to archive to goals)– Planning, organizing, – Securing (budget, scope, time– Managing

Page 5: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

IT Project PM

• Planning– Requirement Analysis– Project Scope– Function List

• Implementation– Implementation

• Basic design, Detail Design, Coding, Unit Test.– Testing

• Integration, System, Regression, Acceptance, Alpha, Beta– Documentation

• Deployment and maintenance– Approved to be released– Training and Support– Maintaining

Page 6: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Basic Life Cycle

• Planning• Implementation, Testing

– Documenting

• Deployment, maintenance

Page 7: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Software Development Models

• Waterfall• Spiral Model• Iterative and

Incremental Development

• Agile Development Model

Page 8: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Process Improvement Models

• CMMI (Capability Maturity Model Integration)

• ISO 9000• ISO 15504

Page 9: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Redmine history

• Ruby on Rails framework based• Cross database (sqlite, MySQL, Postgres)• Open source (GPL version 2)

Page 10: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Redmine Requirement

• Requirements– CentOS 5.4+– Database MySQL > 4.1– Ruby & Ruby on Rails (version == 2.2.2)– OS user to run Redmine (optional)

Page 11: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Redmine installation (1)

#useradd redmine

#passwd redmine

#gem install rails -v=2.2.2

# cd /var/www/html/# mkdir redmine# cd redmine# wget http://rubyforge.org/frs/download.php/67144/redmine-0.8.7.tar.gz# wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz

# cd /var/www/html/# mkdir redmine# cd redmine# wget http://rubyforge.org/frs/download.php/67144/redmine-0.8.7.tar.gz# wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz# tar xvzf rubygems-1.3.5.tgz# tar xvzf redmine-0.8.7.tar.gz # cd rubygems-1.3.5

Page 12: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Redmine installation (4)

# mysql #create database redmine character set utf8;#create user 'redmine'@'localhost' identified by 'my_password';#grant all privileges on redmine.* to 'redmine'@'localhost';## /etc/init.d/mysqld restart# cd /var/www/html/redmine/redmine-0.8.7/config# cp database.yml.example databse.yml#vi database.yml

vi database.yml

production: adapter: mysql database: redmine host: localhost username: redmine password: my_password socket: /var/lib/mysql/mysql.sock

Page 13: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Redmine installation (5)

#cd /var/www/html/redmine/redmine-0.8.7/# rake config/initializers/session_store.rb # RAILS_ENV=production rake db:migrate # RAILS_ENV=production rake redmine:load_default_data

# su - redmine# mkdir –p tmp public/plugin_assets# sudo chown –R redmine:redmine files log tmp public/plugin_asets# sudo chmod –R 755 files log tmp public/plugin_assets

#su – redmine#cd /var/www/html/redmine/redmine-0.8.7# ruby script/server webrick –e production

=> Booting WEBrick...[2010-06-14 18:31:36] INFO WEBrick 1.3.1[2010-06-14 18:31:36] INFO ruby 1.8.5 (2006-08-25) [i386-linux][2010-06-14 18:31:36] INFO WEBrick::HTTPServer#start: pid=5132 port=3000192.168.52.16 - - [14/Jun/2010:18:35:59 ICT] "GET /my/page HTTP/1.1" 304 0http://192.168.52.123:3000/timesheet -> /my/page

Page 14: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Webrick Web Server

Check: http://host_IP:3000Login: admin Password: admin

Page 15: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Themes

http://www.redmine.org/wiki/redmine/Theme_Lis

Page 16: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Plugins

Page 17: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Plugins

http://www.redmine.org/wiki/redmine/Plugin_List

Page 18: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Trac

• Project management (Roadmap, Milestones, etc.) • Ticket system (bug tracking, tasks, etc.) • Fine-grained permissions (since 0.11) • Timeline of all recent activity • Wiki (syntax similar to MoinMoin) • Customized reporting • VCS web interface (subversion)• RSS Feeds • Multiple project support • Environment extensibility (via Python plugins) • iCalendar export[4] • Multiple Repository Support per environment (since 0.12)

Page 19: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Trac + ? = Redmine

• Project management (Roadmap, Milestones, etc.)

• Ticket system (bug tracking, tasks, etc.)

• Fine-grained permissions (since 0.11)

• Timeline of all recent activity • Wiki (syntax similar to MoinMoin) • Customized reporting • VCS web interface (subversion)• RSS Feeds • Multiple project support • Environment extensibility (via

Python plugins) • iCalendar export[4] • Multiple Repository Support per

environment (since 0.12)

• Multiple projects support • Flexible role based access control • Flexible issue tracking system • Gantt chart and calendar • News, documents & files management • Feeds & email notifications • Per project wiki • Per project forums • Time tracking • Custom fields for issues, time-entries,

projects and users • SCM integration (SVN, CVS, Git,

Mercurial, Bazaar and Darcs) • Issue creation via email • Multiple LDAP authentication support • User self-registration support • Multilanguage support • Multiple databases support

http://www.redmine.org/wiki/redmine/Features

Page 20: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Mantis + = Redmine

• The Mantis importer migrates:– http://www.redmine.org/wiki/1/RedmineMigrate#Mantis

– Users – Projects – Project versions, categories and news – Project memberships – Bugs – Bug notes, files, relations and monitors – Custom fields

Page 21: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

TestLink += Redmine

• Integrate Testlink with Redmine:– http://www.teamst.org/index.php/news-mainmenu-2/13-development/10-ftr1

– Use TestLink to compose rich test plans containing an chosen set of test cases.

– Each Test Plans can collect test results for particular builds and platforms. Testing could be prioritized, assigned to testers, defined milestones.

Page 22: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Planning (1)

• Calendar• Gantt Chart• Redmine Estimations plugin

– COCOS– Function Point

Page 23: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Planning (Gantt Chart)

Page 24: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Planning (Gantt Chart)

Page 25: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Design, Implementation, Testing

Page 26: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Deployment, Maintenance

• Use trackers and/or Categories

Page 27: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Ticket First

Page 28: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

What is a Ticket

Ticket– Issues– Bugs– Task– Meeting– Question/Answer– Any Activities– Divide and Conqueror

• Manage all Activities in ONE place

Page 29: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Page 30: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Page 31: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Multi Projects

• Internal– 31 Projects (21 Open)– 2002 Tickets– 50 Users (38 Active)

• External– 3 Projects– 192 Tickets– 15 Users

Page 32: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Project Activities

To monitor project activities

Daily Report: Obsolete

Page 33: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

WorkTime

Page 34: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Roadmap

The roadmap provides a highly-configurable, version-based view on the issue tracking system that helps planning and managing the development of a project.It also provides an in-depth (version-based) overview of the current state of your project.

Page 35: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Change Log

Provides a project-level overview of all closed issues, sorted per target version. Considering the fact that this is an overview of what has changed in the specified target-versions, only closed issues which have the target-version field filled are shown in this overview.

Page 36: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Issue Summary

Page 37: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Issue Summary (2)

Page 38: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Issue Summary (3)

Page 39: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Project Settings

Page 40: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Repository

Page 41: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Pepository Statistics

Page 42: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Administrator Page

Page 43: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Project List/New

Page 44: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

User Management

Page 45: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Roles

Non member: this role lets you define the permissions that a registered user has on projects which he is not a member of. Anonymous: this role lets you define the permissions that anonymous users have on the projects.

Page 46: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Trackers = Type of Activities

Page 47: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Issue Status

Page 48: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Workflow (1)

Page 49: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Workflow (2)

Page 50: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Workflow (3)

Page 51: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Custom Fields

Page 52: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Enumerations

Page 53: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Enumerations

Page 54: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Issue Priorities

Page 55: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Email notifications

Page 56: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Wiki Syntax

http://www.redmine.org/wiki/redmine/RedmineTextFormatting

Page 57: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Time Tracking

Page 58: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Multi Language

Page 59: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

User Groups

• 0.9.0+• Vinicorp: 0.8.7

Page 60: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Scrum

Page 61: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Agile Style

• Short development, release cycle– Quickly– Dirty– Nightly

• Iteration – Small features– Small bug fixes

• Software Configurtion Management– Continuous Integration– Test Driven

Page 62: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Kanban

Page 63: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Chart

Page 64: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Code Review

日本製です

Page 65: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Google Calendar

Page 66: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Lunch Order

Page 67: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

MTG Reservation

Page 68: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

[vnc_all:06043] Thông báo đến muộn (12/10/2010)

Đơn xin nghỉ ngày 08/10/2010

Page 69: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Speech Management

Page 70: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Ex: TODO List Management

Tracker = TODO List Management

Filter Calendar by the Tracker

Page 71: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

MTG Room Booking Management

Tracker = MTG Room Booking

Filter Calendar by the Tracker

Page 72: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Thank you!

Q&A

Page 73: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

Information Management with Redmine

Nguyen Vu Hung

[email protected]

2010/12/21

Page 74: Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

2010/11/21 Nguyen Vu Hung

References

• PMBOK 4th Edition• http://www.visitask.com/closure-phase.asp• Redmine_guide_install.doc• Redmine Wiki http://www.redmine.org/wiki/• http://www.redmine.org• チケットファーストでアジャイル開発!~チケットに分割して統治せよ• ETWest2009 講演資料「 TestLink でアジャイルにテストする」• http://www.slideshare.net/machu/yet-another-tdd• SPES2009 経験論文~チケット駆動開発: BTS によるアジャイル開発の改善• XP 祭り関西 2010 発表資料「チケット駆動開発のプラクティス集」• チケット駆動開発の概要と体験談• http://en.wikipedia.org/wiki/Software_testing• http://www.flickr.com/photos/somerslea/145022630/#/• http://www.flickr.com/photos/orcmid/3879260297/• http://www.redmine.org/wiki/1/PluginCharts

• http://powerbacks.com/sampler_thumbs/tech/technologythumbsset2.htm