Redmine Time Manager Tool Installation

  1. Install Ruby 1.9.3-p194
  2. Download Redmine (redmine-2.1.2)
  3. Download MySQL install it (mysql-5.5.28-winx64.msi)
  4. 直接解压到C盘 然后安装在C盘 同时运行(Start Command Prompt with Ruby)

       

Redmine(redmine-2.1.2)

http://rubyforge.org/frs/download.php/76497/redmine-2.1.2.zip

 

MySQLinstall it (mysql-5.5.28-winx64.msi)

http://www.mysql.com/downloads/mirror.php?id=409777

 

Ruby1.9.3-p194

http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2


gem install bundler

bundle install

Notice: Json Problem: You need to download DevKit on http://rubyinstaller.org/downloads/

Andyou need to run

cd <DEVKIT_INSTALL_DIR>

ruby dk.rb init

ruby dk.rb review

ruby dk.rb install

Toinstall the Json

           Notice: RimageProblem: You can download iton         http://www.imagemagick.org/script/binary-releases.php#windows

          setCPATH=C:\Program Files\ImageMagick-6.7.7-Q16\includeset        

          set  LIBRARY_PATH=C:\ProgramFiles\ImageMagick-6.7.7-Q16\lib

  1. Enter: bundle install
  2. with Redmine 1.4.x:

rake generate_session_store

•with Redmine 2.x:

rake generate_secret_token

  1. When you enter:  rake redmine:load_default_data RAILS_ENV=production

从mysql官方http://dev.mysql.com/downloads/mysql下载 mysql-connector-c-noinstall-6.0.2-win32解压到e:/。注意根据自己的实际情况下载相对应的版本,这里使用非安装版。

 

or Ruby 1.9.2:

 

gem install mysql --platform=ruby ----with-mysql-dir=e:/mysql-connector-c-noinstall-6.0.2-win32for Ruby 1.9.3:(showing mysql2 variant)

 

gem pristine mysql2 ----with-mysql-config=e:\mysql-connector-c-noinstall-6.0.2-win32 这里我用64位的win7系统.

 

然后将 E:\mysql-connector-c-noinstall-6.0.2-win32\lib 目录下的 libmysql.dll 文件复制到 E:\RailsInstaller\Ruby1.9.3\bin目录下。

  1. Gem install activerecord-mysql2-adapter (Notice: In database.yml 中不能有 adapter: mysql 的 属性 不然很麻烦,需要全部变为adapter: mysql2  同时 也需要把host: localhost 变为  host: 127.0.0.1)
  2. 输入:rake db:migrate  RAILS_ENV=production
  1. 输入:rake redmine:load_default_data RAILS_ENV=production
  2. 测试:

Test the installation by running WEBrick web server:

with Redmine 1.4.x:

ruby script/server webrick -e production

with Redmine 2.x:

ruby script/rails server webrick -e production

  1. 输入:http://localhost:3000/

Use default administrator account to log in:

login: admin

password: admin

You can go to Admin & Settings to modify application settings.

 

Plugins installation

rakeredmine:plugins:migrate RAILS_ENV=production

UninstallingPlugins

rakedb:migrate_plugins RAILS_ENV=production

 


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值