【正文】
admin o 密碼: admin 你可以在管理amp。7. 設(shè)置權(quán)限注意:Windows 用戶必須跳過這一步。在應(yīng)用程序根目錄下運(yùn)行以下命令,會(huì)創(chuàng)建數(shù)據(jù)庫表及administrator用戶:RAILS_ENV=production rake db:migrate6. 在數(shù)據(jù)庫中插入默認(rèn)配置數(shù)據(jù)。Redmine的主干r2493 及以后版本需要。UTF839。my_password39。redmine39。localhost39。舉例如下:MySQL數(shù)據(jù)庫:create database redmine character set utf8。 可選組件182。你可以使用下面命令設(shè)置它:ALTER DATABASE redmine_db SET datestyle=ISO,MDY。如果你從Redmine源代碼庫中獲取代碼,你可能要在你機(jī)器上安裝特定的Rail版本,運(yùn)行命令:gem install rails v=說明:需要RubyGems 數(shù)據(jù)庫MYSQL (推薦)確保安裝了C綁定,它可以顯著的改進(jìn)Ruby的性能。ruby , Rails Rack ruby , Rails Ruby on RailsRedmine不同版本需要的Ruby的版本支持。Ruby amp。trunk before r2493ruby , Rails 所以不需要特別改動(dòng)。PostgreSQL 8確保你的數(shù)據(jù)庫日期類型設(shè)置成ISO(PostgreSQL 默認(rèn)設(shè)置)。SQLite 3 RMagick (將甘特圖導(dǎo)出成png圖片) Ruby OpenID Library (可以支持OpenID) [僅在Redmine trunk / ] Version 2 或以后版本需要。2. 創(chuàng)建一個(gè)空的數(shù)據(jù)庫及相應(yīng)的用戶,命名為Redmine。39。grant all privileges on redmine.* to 39。PostgreSQL數(shù)據(jù)庫:CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 39。CREATE DATABASE redmine WITH ENCODING=39。MySQL數(shù)據(jù)庫例子:production: adapter: mysql database: redmine host: localhost username: redmine password: my_password如果你的服務(wù)沒有運(yùn)行在標(biāo)準(zhǔn)端口(3306)上,請使用以下配置:production: adapter: mysql database: redmine host: localhost port: 3307 username: redmine password: my_passwordPostgreSQL 數(shù)據(jù)庫例子(默認(rèn)端口):production: adapter: postgresql database: host: username: password: encoding: utf8 schema_search_path: (default public)4. 生成會(huì)話存儲(chǔ)密鑰。在這些版本中可以使用以下命令 rake generate_session_store5. 創(chuàng)建數(shù)據(jù)庫結(jié)構(gòu)。默認(rèn)會(huì)導(dǎo)入角色、跟蹤、狀態(tài)、工作流枚舉值。你就可以看到應(yīng)用的歡迎頁面。詳細(xì)看 配置例子。從開始菜單中選擇Start Command Prompt with Ruby按著下面命令的提示做。不是所有的 文件都可用,請使用 。 Installing Redmine Ruby on Rails SMTP server Configuration Ruby on RailsThe required Ruby and Ruby on Rails versions for a given Redmine version is:Redmine versionSupported Ruby versionsRequired Rails versionRequired Rack versioncurrent trunkruby , Rails Rack trunk from r2493 to r2886ruby , Rails Official releases include the appropriate Rails version in their vendor directory. So no particular action is needed.If you checkout the source from the Redmine reposi