Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

81
2012/09/15 Nguyễn Vũ Hưng INFORMATION MANAGEMENT WITH REDMINE Nguy n V H ng ũ ư [email protected] 2012/09/15

Transcript of Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

Page 1: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

INFORMATION MANAGEMENT WITH REDMINE

Nguy n V H ngễ ũ ư[email protected]

2012/09/15

Page 2: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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

4 2012/09/15 vuhung Updated all slides All

Page 3: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Work Breakdown

Page 5: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Plan a Travel

Page 6: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Meeting Minutes

Page 7: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Other usages

• Qu n lý tuy n d ngả ể ụ• Qu n lý xin nghả ỉ• Qu n lý t hàng/ t nả đặ đặ đồ ă

Page 8: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 9: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 10: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Basic Life Cycle

• Planning• Implementation, Testing

– Documenting

• Deployment, maintenance

Page 11: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Software Development Models

• Waterfall• Spiral Model• Iterative and

Incremental Development

• Agile Development Model

Page 12: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Process Improvement Models

• CMMI (Capability Maturity Model Integration)

• ISO 9000• ISO 15504

Page 13: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Redmine history

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

Page 14: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 15: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 16: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 17: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 18: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Webrick Web Server

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

Page 19: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Themes

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

Page 20: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Plugins

Page 21: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Plugins

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

Page 22: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 23: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 24: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 25: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 26: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Planning (1)

• Calendar• Gantt Chart• Redmine Estimations plugin

– COCOS– Function Point

Page 27: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Planning (Gantt Chart)

Page 28: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Planning (Gantt Chart)

Page 29: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Design, Implementation, Testing

Page 30: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Deployment, Maintenance

• Use trackers and/or Categories

Page 31: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Ticket First

Page 32: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

What is a Ticket

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

• Manage all Activities in ONE place

Page 33: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Page 34: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Page 35: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Multi Projects

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

• External– 3 Projects– 192 Tickets– 15 Users

Page 36: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Project Activities

To monitor project activities

Daily Report: Obsolete

Page 37: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

WorkTime

Page 38: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 39: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 40: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Issue Summary

Page 41: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Issue Summary (2)

Page 42: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Issue Summary (3)

Page 43: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Project Settings

Page 44: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Repository

Page 45: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Pepository Statistics

Page 46: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Administrator Page

Page 47: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Project List/New

Page 48: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

User Management

Page 49: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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 50: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Trackers = Type of Activities

Page 51: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Issue Status

Page 52: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Workflow (1)

Page 53: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Workflow (2)

Page 54: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Workflow (3)

Page 55: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Custom Fields

Page 56: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Enumerations

Page 57: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Enumerations

Page 58: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Issue Priorities

Page 59: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Email notifications

Page 60: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Wiki Syntax

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

Page 61: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Time Tracking

Page 62: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Multi Language

Page 63: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

User Groups

• 0.9.0+

Page 64: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Scrum

Page 65: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Agile Style

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

• Iteration – Small features– Small bug fixes

• Software Configurtion Management– Continuous Integration– Test Driven

Page 66: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Kanban

Page 67: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Chart

Page 68: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Code Review

日本製です

Page 69: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Google Calendar

Page 70: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Lunch Order

Page 71: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Interview Calendar

Page 72: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

MTG Reservation

Page 73: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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

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

Page 74: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Speech Management

Page 75: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Ex: TODO List Management

Tracker = TODO List Management

Filter Calendar by the Tracker

Page 76: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

MTG Room Booking Management

Tracker = MTG Room Booking

Filter Calendar by the Tracker

Page 77: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

LIFE is a Short Project

[ ]

Page 78: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Thank you!

Q&A

Page 79: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

• Name: Nguy n V H ngễ ũ ư• Tel: 0904-28-7878

• Email: [email protected]

• YIM: vuhung16 , Skype: vuhung16plus

• https://www.facebook.com/nguyenvuhung

• https://twitter.com/vuhung

• https://www.linkedin.com/in/nguyenvuhung

• https://www.facebook.com/groups/vietlug/

• http://vfossa.vn/

Page 80: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

Information Management with Redmine

Nguy n V H ngễ ũ ư[email protected]

2012/09/15

Page 81: Sfd2012 Hanoi Nguyễn Vũ Hưng - Information Management with Redmine

2012/09/15 Nguyễn Vũ Hưng

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.sl ideshare.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

• http://www.innovationgear.com/mind-mapping-software/solutions/project-planning-and-project-management.php