專案管理軟體redmine在Windows下的安裝部署

來源:互聯網
上載者:User
專案管理軟體redmine在Windows下的安裝部署2010-09-05 08:51

手動安裝Redmine非常麻煩,採用InstantRails安裝部署則非常簡單

由於redmine 1.0.0要求的版本要比InstantRails-2.0高,採用Redmine1.0在

InstantRails-2.0 下安裝相對較為複雜,不太適合新手。本文採用Redmine版本0.8.4,非常適合新手操作

安裝步驟如下:

1、下載InstantRails http://rubyforge.org/frs/download.php/29867/InstantRails-2.0-win.zip
2、解壓無需另行安裝。
3、環境變數path中加入 C:/InstantRails-2.0-win/ruby/bin;
6、下載redmine(版本0.8.4)地址(http://rubyforge.org/frs/?group_id=1850),解壓後,放到C:/InstantRails-2.0-win/rails_apps目錄下
7、運行C:/InstantRails-2.0-win/InstantRails.exe.查看apache是否運行正常。
8、設定資料庫,我這裡採用sqlite3資料庫,此Database Backup相對較為簡單。重新命名:InstantRails-2.0-win/rails_apps/redmine-0.8.4/config/ 目錄下的database.yml.example檔案為database.yml

配置如下

production:
adapter: sqlite3
database: db/redmine.sqlite3
host: localhost
username:
password:
encoding: utf8

development:
adapter: sqlite3
database: db/redmine.sqlite3
host: localhost
username:
password:
encoding: utf8

9、往資料庫匯入資料:

點擊instantRails介面的I-Rails Applications-Open Ruby Console Window欄目,跳出dos視窗,命令列輸入如下命令

cd redmine-0.8.4

rake db:migrate rails_env=“production"

rake load_default_data Rails_env="production"

其中rake db:migrate rails_env="production"是建立資料庫:rake load_default_data rails_env="production"是指名當前項目的運行環境為production,中間會提示選擇語言你,選擇zh即可。

10:

現在配置結束,點擊InstantRails介面I-RAILS Applications-manage rails applications 欄目,點擊"start with mongrel"啟動redmine 0.8.4,跳出一個dos視窗,就可以啟動Redmine了

11、瀏覽器輸入http://localhost:3000/,輸入使用者名稱;admin,密碼admin,即可進入redmine的管理介面,來體驗吧。

12、由於redmine啟動需要彈出一個dos視窗,可以將redmine啟動做為一個windows服務,讓作業系統啟動自動啟動redmine伺服器。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.