Skip to content

Installation

dhanasingh edited this page Jul 31, 2014 · 2 revisions

Unpack the zip file to the plugins folder of Redmine.

Starting from version 1.2, it requires db migration. So run the following command for db migration

rake redmine:plugins:migrate NAME=redmine_wktime RAILS_ENV=production

When uninstalling the plugin, be sure to remove the db changes by running

rake redmine:plugins:migrate NAME=redmine_wktime VERSION=0 RAILS_ENV=production

Starting from version 1.5, it requires the gem rufus-scheduler. So run the following command to install the gem

bundle install

For rufus-scheduler to work , the rails application should be up all the time. If an apache passenger module is used then make sure the following settings are made

PassengerMinInstances 1
RailsAppSpawnerIdleTime 0
PassengerPreStart http://<rails-app-url>/

This plugin uses js and css assets and it will be copied to public/plugin_asset/redmine_wktime folder upon server startup, so please make sure public/plugin_asset/redmine_wktime has proper access.

The pdf export requires rmagick gem.

Clone this wiki locally