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

Preview:

Citation preview

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

INFORMATION MANAGEMENT WITH REDMINE

Nguy n V H ngễ ũ ưvuhung16plus@gmail.com

2012/09/15

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

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

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

Work Breakdown

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

Plan a Travel

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

Meeting Minutes

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ả đặ đặ đồ ă

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

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

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

Basic Life Cycle

• Planning• Implementation, Testing

– Documenting

• Deployment, maintenance

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

Software Development Models

• Waterfall• Spiral Model• Iterative and

Incremental Development

• Agile Development Model

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

Process Improvement Models

• CMMI (Capability Maturity Model Integration)

• ISO 9000• ISO 15504

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)

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)

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

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

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

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

Webrick Web Server

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

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

Themes

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

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

Plugins

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

Plugins

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

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)

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

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

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.

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

Planning (1)

• Calendar• Gantt Chart• Redmine Estimations plugin

– COCOS– Function Point

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

Planning (Gantt Chart)

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

Planning (Gantt Chart)

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

Design, Implementation, Testing

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

Deployment, Maintenance

• Use trackers and/or Categories

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

Ticket First

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

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

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

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

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

Project Activities

To monitor project activities

Daily Report: Obsolete

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

WorkTime

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.

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.

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

Issue Summary

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

Issue Summary (2)

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

Issue Summary (3)

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

Project Settings

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

Repository

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

Pepository Statistics

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

Administrator Page

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

Project List/New

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

User Management

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.

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

Trackers = Type of Activities

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

Issue Status

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

Workflow (1)

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

Workflow (2)

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

Workflow (3)

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

Custom Fields

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

Enumerations

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

Enumerations

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

Issue Priorities

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

Email notifications

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

Wiki Syntax

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

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

Time Tracking

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

Multi Language

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

User Groups

• 0.9.0+

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

Scrum

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

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

Kanban

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

Chart

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

Code Review

日本製です

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

Google Calendar

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

Lunch Order

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

Interview Calendar

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

MTG Reservation

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

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

Speech Management

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

Ex: TODO List Management

Tracker = TODO List Management

Filter Calendar by the Tracker

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

MTG Room Booking Management

Tracker = MTG Room Booking

Filter Calendar by the Tracker

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

LIFE is a Short Project

[ ]

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

Thank you!

Q&A

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

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

• Email: vuhung16plus@gmail.com

• 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/

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

Information Management with Redmine

Nguy n V H ngễ ũ ưvuhung16plus@gmail.com

2012/09/15

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