安装资产
如果在甘特图安装过程中没有完成,请解压缩 redminex-resources-x-x-x_UNZIP_ME_FIRST
。 这将生成一个与 ZIP 文件同名的文件夹,其中包含 2 个文件夹: redmine_x_assets
和 redmine_x_resources
。 将2个文件夹上传到 redmine_root/plugins
。 您可以将 ZIP 文件直接上传到 redmine_root/plugins
并在控制台中执行 unzip 命令,但是您需要确保解压后生成 2 个文件夹,如上所述。 不要更改插件文件夹名称。 如果资产插件已经存在,这意味着甘特图已经安装,您可以跳到第 4 点。
安装宝石
从 redmine_root
运行 bundle install
.
如果 gem 安装正确,这大致就是您应该看到的。
迁移
运行迁移命令 bundle exec rake redmine:plugins:migrate RAILS_ENV=production
.
如果迁移进展顺利,这大致就是您应该看到的。
安装资源
上载 redmine_x_resources
文件夹到 redmine_root/plugins
。 不要更改插件文件夹名称。
安装宝石
从 redmine_root
运行 bundle install
.
如果 gem 安装正确,这大致就是您应该看到的。
迁移
运行迁移命令 bundle exec rake redmine:plugins:migrate RAILS_ENV=production
.
如果迁移进展顺利,这大致就是您应该看到的。
上传公众假期日历
如果在甘特图安装期间未完成,请运行 calendar 命令 bundle exec rake redmine:redmine_x_assets:initialize_holidays RAILS_ENV=production
加载假期。 如果在 Gantt 插件安装期间安装了 Holidays,请跳至第 8 点。
如果假期安装正确,这大致就是您应该看到的。
重新启动
重启Redmine。 根据您的托管服务提供商/网络服务器,您将需要运行以下命令。 彪马: sudo systemctl restart redmine.yourcompany.com.service
or 乘客: touch tmp/restart.txt
.
为特定角色允许资源
在MyCAD中点击 软件更新 ~/roles
并为每个角色选择项目和全局资源的权限。