Redmine Plugin 개발은 홈페이지 Tutorial을 참조
- 1단계 (Generate plugin)
- use_redmine.bat 실행: \Bitnami\redmine-3.2.0-1>use_redmine
- 새로뜬 창에 다음을 입력
- \Bitnami\redmine-3.2.0-1\apps\redmine\htdocs>bundle exec ruby bin/rails generate redmine_plugin <plugin-name>
- bin/rails 는 Redmine 3.X 임으로. 즉 버전마드 다름으로 주의: 위의 Tutorial Page 참조
- plugin information 수정
- Bitnami\redmine-3.2.0-1\apps\redmine\htdocs\plugins\joins_project_list\init.rb
- name, author, description and version 정보 수정
- 확인
- 서버 리스타트
- 확인: http://localhost/redmine/admin/plugins
Redmine::Plugin.register :joins_project_list do
name 'Plugin_Name'
author 'mino'
description 'desc....'
version '0.0.1'
url 'http://example.com/path/to/plugin'
author_url 'http://mino43.tistory.com/'
end
Note: any change to the init.rb
file of your plugin requires to restart the application as it is not reloaded on each request.
'프로젝트 > Redmine' 카테고리의 다른 글
잠시 쉬어감 (Ruby on Rails 공부중) (0) | 2016.02.16 |
---|---|
Redmine 설치 (0) | 2016.02.15 |
Redmine을 시작하며 (0) | 2016.02.15 |