redmine on windows(bitnami)
다운로드/설치
https://bitnami.com/stack/redmine/installer
https://docs.bitnami.com/installer/apps/redmine/
https://luckygg.tistory.com/42
Apache2, Php, Mysql 설치됨 (설치경로: C:\Bitnami\redmine-4.0.4)
– Manager: C:\Bitnami\redmine-4.0.4-1\manager-windows.exe
– Console: C:\Bitnami\redmine-4.0.4-1\use_redmine.bat)
접속경로 : 127.0.0.1/redmine 또는 localhost/redmine
CREATE USER 'sixx'@'%' IDENTIFIED WITH mysql_native_password AS '***'; GRANT ALL PRIVILEGES ON *.* TO 'sixx'@'%' REQUIRE NONE WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
mysql에서 root의 password를 변경했다면, C:\Bitnami\redmine-4.0.4-1\apps\redmine\htdocs\config\database.yml를 알맞게 수정해줘야 함.
Plugin
plugin 설치
https://www.redmine.org/projects/redmine/wiki/Plugins
https://github.com/danmunn/redmine_dmsf#setup–upgrade
- Plugins폴더로 가서, Plugins을 다운받고/ 압축풀기
플러그인 설치 경로에 플러그 폴더별로 다운로드 (주의 : 압축풀기, 폴더명끝에 master는 지워서 rename)
– 직접 다운로드 (download zip using ftp)
– git clone git://github.com/Restream/redmine_플러그인명 - Bitnami Redmine Stack (console) 실행
Run use_redmine script(환경변수 잡을 필요 없음)
C:\\Bitnami\\redmine-4.0.4-1> cd apps\\redmine\\htdocs\\plugins
- Install required gems
안하면, rake aborted! NoMethodError: undefined method `to_prepare’…
c:/Bitnami/redmine-4.0.4-1/apps/redmine/htdocs 에서 > bundle install --without development test --no-deployment
- Migrate database
설치 명령어 실행
c:/Bitnami/redmine-4.0.4-1/apps/redmine/htdocs 에서 > bundle exec rake redmine:plugins NAME=RAILS_ENV=production --trace 또는 > bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace
- 서버 재시작.
Thin_redmine, Thin_redmine2 를 ‘Restart’
sudo /opt/redmine-[version]/ctlscript.sh restart
로그확인
C:\Bitnami\redmine-4.0.4-1\apps\redmine\htdocs\log 에서 로그 확인
Plugin 제거
<plugin_name> 에 제거할 plugin 이름 넣어줌.
마지막으로 Plugin폴더에서 해당 plugin폴더 삭제
>pwd /c/Bitnami/redmine-4.0.4-1/apps/redmine/htdocs >rake redmine:plugins:migrate NAME=VERSION=0 RAILS_ENV=production --trace 예 >rake redmine:plugins:migrate NAME=redmine_wysiwyg_editor VERSION=0 RAILS_ENV=production --trace
유용한 Plugins
https://www.redmine.org/projects/redmine/wiki/Plugins
사용하는 redmine버전과 설치할 Plugin버전이 compatible한지 확인하고 설치!
WYSIWYG Editor
TinyMCE: https://github.com/taqueci/redmine_wysiwyg_editor
CKEditor :
https://github.com/a-ono/redmine_ckeditor
https://www.redmine.org/plugins/redmine-ckeditor
Image
LightBox: https://github.com/paginagmbh/redmine_lightbox2
Document
Redmine DMSF: 디렉터리(폴더) 기능, 히스토리 관리 https://github.com/danmunn/redmine_dmsf
readme파일 참조. (xapian_indexer.rb)
설정: Administration -> Plugins -> DMSF -> Configure
Project
Agile Plugin for agile teams: http://www.redmine.org/plugins/redmine_agile
install guide
– Administration -> Roles 화면설정
– Project > Settings > modules
Redmine Checklist Plugin:
https://www.redmineup.com/pages/plugins/checklists
SVN연동
visualsvn 설치/구성