top_banner.png
4月24日是我们公司的生日!
Offer ends 29th Apr

4月24日是我们公司的生日!

在Linux上安装Redmine插件

我们的插件很容易安装,不会改变Redmine的数据库数据,但我们建议在安装前进行全面备份。通常的做法是,只需将未归档的插件复制到你的 redmine/plugins/文件夹。然而,有些插件可能需要特定的 Ruby gems 或/和数据库表。

下面你会发现任何插件安装的常见步骤(所有命令都应从Redmine应用程序根目录下执行,例如。/var/www/redmine;该文件夹包含 config.ru 文件)。

转到Redmine的根文件夹

cd /var/www/redmine

复制并解压插件

cp [plugin_name]-4_0_0-pro.zip plugins/
cd plugins
unzip [plugin_name]-4_0_0-pro.zip

安装必要的 gems

cd /var/www/redmine
bundle install --without development test --no-deployment

迁移插件的表格

bundle exec rake redmine:plugins NAME=[plugin_name] RAILS_ENV=production

重新启动Redmine应用程序

对于Phusion Passenger,只需触摸 restart.txt 文件即可

touch tmp/restart.txt
Was this article helpful? Yes  No
93 from 115 found this helpful