The following steps are based on WinXP sp3 platform.
1 install instantrails2.0
2 update rails as following:
C:\InstantRails-2.0\ruby>gem update --system
C:\InstantRails-2.0\ruby>gem update rails --include-dependencies --source http://gems.rubyonrails.org/
note that you need to specify the source, or else, the update will timeout always.
by default, the rails version is 2.0.2, if you update rails successfully, version will be 2.3.3
C:\InstantRails-2.0\rails_apps\redmine>rails -v
Rails 2.3.3
if you see the error as:
ERROR: Error installing rails:
actionpack requires rack (~> 1.0.0, runtime)
Nothing to update
then you need to install rack first, try to download rack from website:
http://rubyforge.org/frs/?group_id=3113&release_id=42199
say, you put it in c:\rack\rack-1.0.0.gem
cd c:\rack
gem install rack-1.0.0.gem
if you see error as:
ERROR: Error installing rails:
rails requires rake (>= 0.8.3, runtime)
then you need to install rake 0.8.3, try to download rake from website:
http://rake.rubyforge.org/
cd c:\rake
gem install rake-0.8.3.gem
3 checkout redmine project stable version 0.9:
svn co http://redmine.rubyforge.org/svn/branches/0.9-stable redmine-0.9
4 copy redmine project to rails_apps directory, remove all hidden .svn directories.
5 find files as *example, and rename all these files by remove "example" word, for example, rename \InstantRails-2.0\rails_apps\redmine\config\database.yml.example to database.yml
6start instantrails.exe(make sure mysql server was started successfully)
7create databasesin mysql for redmine:
create database redmine character set utf8;
create database redmine_development character set utf8;
create database redmine_test character set utf8;
8 imports data
cd remine
rake db:migrate RAILS_ENV="development"
rake load_default_data RAILS_ENV="development"
if you see error like:
Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RA
ILS_GEM_VERSION setting in config/environment.rb for the Rails version you do ha
ve installed, or comment out RAILS_GEM_VERSION to use the latest version install
ed.
you need to modify enviroment.rb as
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION
if you see error like:
"A key is required to write a cookie containing the session data. Use config.action_controller.session = {:key => "_myapp_session", :secret => "some secret phrase"} in config/environment.rb"
please do as the suggestion, add following config to enviroment.rb file:
config.action_controller.session = { :key => "_redmine_session", :secret => "aa3be4f950045ce76451b8197bf06b6d" }
9 I->Rails Applications->Manage Rails Applications, choose redmine and start it with Mongrel.
if everything is fine, you will see the following message on command line:
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/rails/gem_dependency.r
b:119:Warning: Gem::Dependency#version_requirements is deprecated and will be re
moved on or after August 2010. Use #requirement
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. INT => stop (no restart).
** Mongrel 1.1.2 available at 0.0.0.0:3000
** Use CTRL-C to stop.
this means redmineproduct is running, youcould visit itjust by clicking http://localhost:3000/,
you will see webpage the same style as the redmine project home page:
http://www.redmine.org/
分享到:
相关推荐
Redmine是一个灵活的跨平台的项目管理与缺陷跟踪管理工具 。具体的特征,可访问 开源的项目管理和Bug跟踪工具 Redmine 下面介绍一下Windows下Redmine的安装步骤。
在linux下redmine详细笔记文档
比较详细的有关redmine开源社区的插件开发教程
linux下redmine安装笔记资料.pdf
介绍了如何在局域网的服务器上安装Redmine,文中很大一部分是自己的原创。由于本人要在公司的内部服务器上安装一个Redmine,根据网上找到的介绍Redmine的安装的文章实践过程中遇到了不少问题。经过几天的奋战,终于...
BitNami的Redmine升级步骤 主要适合于redmine for windows的Upgrade
Redmine API 官方文档pdf版
redmine_agile:敏捷开发插件,可以拖动任务改变状态,还有燃尽图等功能(本人汉化) redmine_banner:顾名思义,添加banner支持(个人感觉很土鳖,没什么用) redmine_bootstrap_kit:让redmine支持bootstrap ...
异地服务器需提前架好ftp服务器并建立好相关上传目录,建议使用用FileZilla_Server、serverU或者简单ftp软件进行搭建; 4)整个上传过程,详细记录备份、压缩、FTP上传各步骤详细日志,随时可以查阅每次备份记录的...
redmine 项目管理 软件 安装配置
用于统计Redmine的缺陷数量,按开发员和测试人员两种角度。下载后修改数据库链接后和统计日期即可使用。
redmine 2.2.2
redmine中文使用手册,不包含安装配置,只是教大家怎么使用redmine,安装教程很多所以我没写,使用的没有,所以把自己使用的经验教给大家方便大家快速入门
redmine数据库所有表结构的介绍,做二次开发的能用到。
redmine gitlab plugin hook.可以用来集成gitlab与redmine。使得redmine代码库在gitlab库更新时自动拉取最新代码。
但Redmine本身不含有该功能需要另外安装相应的插件,本节主要介绍本地头像插件、office文档预览插件、pdf文档预览插件的安装与配置。本节中所有内容均在ubuntu18.4的服务器上实测验证通过的。本文档描述的内容在本人...
Redmine的PC客户端,挺好用的,可直接与redmine连接。
Node-Redmine是一个100%支持Redmine's REST API的Nodejs库。安装npm install node-redmine示例代码var Redmine = require('../lib/redmine'); /////////////////////////////////////////////////////////////...