๋ฐ˜์‘ํ˜•

'๋ ˆ๋“œ๋งˆ์ธ'์„ ์ฃผ์ œ๋กœ ๋‹ค๋ฃจ๋Š” ๋ณธ๋ฌธ ๊ธ€์€ ์•„๋ž˜ ๋งํฌ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.

[๋ ˆ๋“œ๋งˆ์ธ] ๋ ˆ๋“œ๋งˆ์ธ ์†Œ๊ฐœ

 

'๋ ˆ๋“œ๋งˆ์ธ ํ”Œ๋Ÿฌ๊ทธ์ธ'์„ ์ฃผ์ œ๋กœ ๋‹ค๋ฃจ๋Š” ๋ณธ๋ฌธ ๊ธ€์€ ์•„๋ž˜ ๋งํฌ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.

[๋ ˆ๋“œ๋งˆ์ธ ํ”Œ๋Ÿฌ๊ทธ์ธ] ํ”Œ๋Ÿฌ๊ทธ์ธ ์†Œ๊ฐœ

๋ฆฌ๋‰ด์–ผ๋œ DMSF ์„ค์น˜ ๊ณผ์ •์€ ์•„๋ž˜ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”.

[๋ ˆ๋“œ๋งˆ์ธ ํ”Œ๋Ÿฌ๊ทธ์ธ] ์‹œ๋†€๋กœ์ง€ ๋„์ปค ๋ ˆ๋“œ๋งˆ์ธ(Synology Docker Redmine) DMSF ์„ค์น˜ ๋ฐ ๋ฐฑ์—… ์„ค์ • ๋ฐฉ๋ฒ•

 

[๋ ˆ๋“œ๋งˆ์ธ ํ”Œ๋Ÿฌ๊ทธ์ธ] ์‹œ๋†€๋กœ์ง€ ๋„์ปค ๋ ˆ๋“œ๋งˆ์ธ(Synology Docker Redmine) DMSF ์„ค์น˜ ๋ฐ ๋ฐฑ์—… ์„ค์ • ๋ฐฉ๋ฒ•

'๋ ˆ๋“œ๋งˆ์ธ(Redmine)'์„ ์ฃผ์ œ๋กœ ๋‹ค๋ฃจ๋Š” ๋ณธ๋ฌธ ๊ธ€์€ ์•„๋ž˜ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”. [๋ ˆ๋“œ๋งˆ์ธ] ๋ ˆ๋“œ๋งˆ์ธ ์†Œ๊ฐœ ์ œ๊ณต๋˜๋Š” ์ฃผ์š” ๊ธฐ๋Šฅ๊ณผ ์—ญ" data-og-host="luckygg.tistory.com" data-og-source-url="https://luckygg.tistory..

luckygg.tistory.com

DMSF๋Š” Document Management System Features์˜ ์•ฝ์ž๋กœ, ๋ ˆ๋“œ๋งˆ์ธ์˜ ๊ธฐ๋ณธ 'Document' ๋ชจ๋“ˆ์„ ๋Œ€์ฒดํ•  ํ”Œ๋Ÿฌ๊ทธ์ธ ์ž…๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ฃผ์š” ๊ธฐ๋Šฅ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • ํด๋” ๊ด€๋ฆฌ
  • ๋ฌธ์„œ ๋ฒ„์ „ ๊ด€๋ฆฌ
  • E-Mail ์ „์†ก
  • ๋ฉ€ํ‹ฐ Upload/Download

์ € ๊ฐ™์€ ๊ฒฝ์šฐ์—๋Š” ๋ฒ„์ „๊ด€๋ฆฌ ๋•Œ๋ฌธ์— DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•˜๊ฒŒ ๋์Šต๋‹ˆ๋‹ค.

ํŒŒ์ผ๋ช…์ด ๋™์ผํ•˜๋‹ค๋ฉด, ์—…๋กœ๋“œ ์‹œ ์ž๋™์œผ๋กœ ๋ฒ„์ „ ์—…์ด ๋˜๋ฉฐ ์ด๋ ฅ์ด ๋‚จ๊ฒŒ ๋˜๋Š” ์žฅ์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋•Œ๋ฌธ์— ํ•ญ์ƒ ์ตœ์‹  ๋ฒ„์ „์˜ ๋ฌธ์„œ๋ฅผ ์œ ์ง€ํ•˜๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•˜๊ฒ ์ฃ ?

DMSF์˜ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋งํฌ๋ฅผ ํด๋ฆญํ•˜์—ฌ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.

 

 


โ€ป ๊ผญ ์ฝ์–ด์ฃผ์„ธ์š”!

์ตœ๊ทผ Redmine ๋ฒ„์ „์ด 4.0.3-2๋กœ ์—…๋ฐ์ดํŠธ ๋˜๋ฉด์„œ DMSF ์„ค์น˜์— ๋ฌธ์ œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
ruby gemfile ๊ด€๋ จํ•œ ๋ฌธ์ œ์ธ๋ฐ ๋šœ๋ ทํ•œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์ฐพ์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค.
๋Œ€์ฒ˜ ๋ฐฉ๋ฒ•์œผ๋กœ, Redmine 4.0.2-1์„ ์„ค์น˜ํ•˜๋ฉด ๋ฌธ์ œ์—†์ด DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์šด๋กœ๋“œ ๋งํฌ: https://downloads.bitnami.com/files/stacks/redmine/4.0.2-1/bitnami-redmine-4.0.2-1-windows-installer.exe
(๋‹ค์šด๋กœ๋“œ ๋งํฌ๊ฐ€ ์–ธ์ œ๊นŒ์ง€ ์œ ํšจํ•œ์ง€ ๋ชจ๋ฅด๊ฒ ์Šต๋‹ˆ๋‹ค. 2019๋…„ 5์›” 26์ผ ๋‚ ์งœ๋กœ ์•„์ง ์œ ํšจํ•ฉ๋‹ˆ๋‹ค.)

๋˜ํ•œ, 4.0.2-1์— DMSF ์„ค์น˜ ์ค‘ 'bundle install'์ด ์œ ํšจํ•˜์ง€ ์•Š์œผ๋ฉด 'bundle install --no-deployment'๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋˜๊ฒ ์Šต๋‹ˆ๋‹ค.

DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ ๋ฒ„์ „์ด 2.0.1๋กœ ์—…๋ฐ์ดํŠธ ๋จ์— ๋”ฐ๋ผ Redmine 4.0.3-2์—์„œ ์ •์ƒ์ ์œผ๋กœ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๊ฒƒ์ด ํ™•์ธ๋์Šต๋‹ˆ๋‹ค.

DMSF 2.0.1์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๋Š” ๋ฐฉ๋ฒ•์€ ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

git clone -b devel-2.0.1 https://github.com/danmunn/redmine_dmsf

(2019๋…„ 6์›” 5์ผ ์ž‘์„ฑ)

 

์ถ”๊ฐ€๋กœ ์„ค์น˜ ๊ณผ์ •์— ๋ฌธ์ œ๊ฐ€ ์žˆ์Œ์„ ํ™•์ธํ•˜์—ฌ ์ผ๋ถ€ ๋‚ด์šฉ์„ ๋ณ€๊ฒฝํ–ˆ์Šต๋‹ˆ๋‹ค.

Redmine 4.0.3-2, DMSF 2.0.1์—์„œ ์„ค์น˜ ๋ฐ ํŒŒ์ผ ์—…๋กœ๋“œ, DMSF๊ฐ€ ํฌํ•จ๋œ ํ”„๋กœ์ ํŠธ ์ œ๊ฑฐ ์‹œ ๋ฌธ์ œ๊ฐ€ ์—†์Œ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

(2019๋…„ 6์›” 6์ผ ์ž‘์„ฑ)


 

๋”๋ณด๊ธฐ

1. DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ ๋‹ค์šด๋กœ๋“œ

๋จผ์ €, Bitnami Redmine Stack์„ ์‹คํ–‰ํ•˜๊ณ  plugins ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
cd D:\Bitnami\redmine-3.4.5-0\apps\redmine\htdocs\plugins
 
์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์Šต๋‹ˆ๋‹ค.
git clone https://github.com/danmunn/redmine_dmsf

 

2. ์„ค์น˜

Redmine ์„ค์น˜ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
cd ..
 
์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
bundle install

 

 
์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
bundle exec rake redmine:plugins:migrate NAME=redmine_dmsf RAILS_ENV="production"
 
์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
bundle exec rake db:migrate RAILS_ENV=production

 

3. ๋ ˆ๋“œ๋งˆ์ธ ์„œ๋ฒ„ ์žฌ์‹œ์ž‘

๋ ˆ๋“œ๋งˆ์ธ ์„œ๋ฒ„๋ฅผ ์žฌ์‹œ์ž‘ ํ•ฉ๋‹ˆ๋‹ค.

๋”๋ณด๊ธฐ

1. DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ ๋‹ค์šด๋กœ๋“œ

ํ˜„์žฌ(2018๋…„ 6์›” 3์ผ) ๊ธฐ์ค€์œผ๋กœ Synology Redmine์˜ ๋ฒ„์ „์€ 3.3.6-0051 ์ž…๋‹ˆ๋‹ค.
๊ทธ๋ฆฌ๊ณ  DMSF ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ๋ฒ„์ „์€ 1.6.1 ์ž…๋‹ˆ๋‹ค.
์ตœ์‹  ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ์ง€๋งŒ, 3.3.6-0051๋ฒ„์ „์—๋Š” 1.6.0๊นŒ์ง€๋งŒ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
 
'git clone' ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ 1.6.0์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์€ ํ›„ ์„ค์น˜ํ•˜๋ฉด ์‰ฌ์šธํ…๋ฐ ๋ฐฉ๋ฒ•์„ ์ฐพ์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. 
๊ทธ๋ž˜์„œ 1.6.0์„ ๋กœ์ปฌ PC์— ๋‹ค์šด๋ฐ›๊ณ  Synology NAS Redmine plugin ๊ฒฝ๋กœ์— ๋ณต์‚ฌํ•œ ํ›„ ์„ค์น˜ํ•˜๋Š” ๊ณผ์ •์œผ๋กœ ์ง„ํ–‰ํ–ˆ์Šต๋‹ˆ๋‹ค.
 

2. ์„ค์น˜

putty๋ฅผ ์‹คํ–‰ํ•˜์—ฌ ์•„๋ž˜ ํ™”๋ฉด๊นŒ์ง€ ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.
 
 
'ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ ๋ฐ ์‚ญ์ œ'์—์„œ ๋‹ค๋ฃจ์—ˆ๋˜ ํŒŒ์ผ ๋ณต์‚ฌ ๋ฐฉ๋ฒ•์œผ๋กœ, plugin ๊ฒฝ๋กœ์— 1.6.0 dmsf ํŒŒ์ผ์„ ๋ณต์‚ฌํ•ฉ๋‹ˆ๋‹ค.
 
๊ทธ๋ฆฌ๊ณ  ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
bundle install

 

์•„๋งˆ ์•„๋ž˜ ๊ทธ๋ฆผ์ฒ˜๋Ÿผ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ ๊ฒ๋‹ˆ๋‹ค.

๋ฒ„์ „ ์ถฉ๋Œ(?)์ด ์žˆ๋‹ค๋Š” ๋‚ด์šฉ์ธ๋ฐ์š”. 

/home/redmine/redmine ๊ฒฝ๋กœ์— ์žˆ๋Š” Gemfile ์ด๋ผ๋Š” ํŒŒ์ผ์˜ ๋ฒ„์ „ ๋‚ด์šฉ์„ ์ˆ˜์ •ํ•˜๋ฉด ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค.

์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ /home/redmine/redmine ์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

cd /home/redmine/redmine

์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ vi ํŽธ์ง‘๊ธฐ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

vi Gemfile

ํ™”๋ฉด์˜ ๋งจ ์•„๋ž˜์— 'gem "dalli", "~> 2.7.0"'์ด ๋ณด์ด์‹ค ๊ฒ๋‹ˆ๋‹ค. ๋งจ ์•ž์— '#'์„ ๋ถ™์—ฌ ์ฃผ์„์ฒ˜๋ฆฌ ํ•ฉ๋‹ˆ๋‹ค.

์ €์žฅํ•˜๊ณ  vi ํŽธ์ง‘๊ธฐ๋ฅผ ๋‚˜๊ฐ‘๋‹ˆ๋‹ค.

ํŽธ์ง‘ : i ์ž…๋ ฅ ํ›„ ํŽธ์ง‘. ํŽธ์ง‘ ์™„๋ฃŒ ํ›„ esc ์ž…๋ ฅ.

์ €์žฅ : :w [Enter]

์ข…๋ฃŒ : :q [Enter]

์ €์žฅ ์•ˆํ•˜๊ณ  ๊ฐ•์ œ ์ข…๋ฃŒ : :q! [Enter]

 
ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•œ ํ›„, ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
cd plugins
bundle install
 

์ด๋ฒˆ์—๋Š” ์„ค์น˜๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ๋์Šต๋‹ˆ๋‹ค!

 

์ด์ œ ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

bundle exec rake redmine:plugins:migrate RAILS_ENV="production"

๋˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค...

์ด๋ฒˆ์—๋Š” redmine dmsf ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ๋ ˆ๋“œ๋งˆ์ธ 3.4.0 ๋˜๋Š” ๊ทธ๋ณด๋‹ค ๋†’์€ ๋ฒ„์ „์„ ์š”๊ตฌํ•œ๋‹ค๋Š” ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์ž…๋‹ˆ๋‹ค.

dmsf ํด๋”๋กœ ์ด๋™ํ•˜์—ฌ init.rb ํŒŒ์ผ์„ ์ˆ˜์ •ํ•˜๋ฉด ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

cd redmine_dmsf

vi init.rb

requires_redmine :version_or_higher => '3.4.0' ์„ # requires_redmine :version_or_higher => '3.4.0' ๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์‹œ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

bundle exec rake redmine:plugins:migrate RAILS_ENV="production"

์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋์Šต๋‹ˆ๋‹ค!

 

3. ๋ ˆ๋“œ๋งˆ์ธ ์„œ๋ฒ„ ์žฌ์‹œ์ž‘

๋ ˆ๋“œ๋งˆ์ธ ์„œ๋ฒ„๋ฅผ ์žฌ์‹œ์ž‘ ํ•ฉ๋‹ˆ๋‹ค.

 

์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋œ ํ›„ ๋ ˆ๋“œ๋งˆ์ธ ์‚ฌ์ดํŠธ์— ์ ‘์†ํ•˜์—ฌ ๊ด€๋ฆฌ์ž ์•„์ด๋””๋กœ ๋กœ๊ทธ์ธํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ  '๊ด€๋ฆฌ > ํ”Œ๋Ÿฌ๊ทธ์ธ' ๋ฉ”๋‰ด๋ฅผ ํด๋ฆญํ•˜๋ฉด ์•„๋ž˜ ๊ทธ๋ฆผ๊ณผ ๊ฐ™์ด ์„ค์น˜๊ฐ€ ๋œ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

๋ฐ˜์‘ํ˜•