Back

配置 bug管理系统 redmine

发布时间: 2015-07-29 06:24:00

refer to:    http://siwei.me/blog/posts/--6, http://www.redmine.org/, 以及: https://github.com/a-ono/redmine_ckeditor

redmine本身是一个很简单的rails应用。 安装直接参考官方文档即可。 

(记得要安装 rmagick 这个第三方包, 具体请按照bundle 出错的信息来)

运行的时候, 建议使用 thin, 不要使用 rails server, 否则会出现   localhost:3000 可以访问,但是 192.168.88.88:3000 无法访问的情况。 

2.  设置邮件SMTP: 

修改 config/configuration.yml, 加入下面的SMTP配置:

default:
  email_delivery:
      delivery_method: :smtp
      smtp_settings:
        address: "smtp.ym.163.com"
        port: 25
        authentication: :plain
        domain: 'example.com'
        user_name: '[email protected]'
        password: 'your password'

重启rails, 即可生效。

3. 设置 wysiwyg  编辑器

把  https://github.com/a-ono/redmine_ckeditor 下载到 你的redmine的plugin 目录下。

然后:   $ bundle install

$ bundle exec rake db:migrate RAILS_ENV=production

Start Redmine

Change the text formatting (Administration > Settings > General > Text formatting) to CKEditor

Configure the plugin (Administration > Plugins > Configure)

Back