User Tools

Site Tools


redmine_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
redmine_commands [2015/01/28 16:28] – [Redmine related commands] adminredmine_commands [2015/02/05 14:46] – [Use Redmine built-in working-days feature] admin
Line 10: Line 10:
   rake redmine:plugins:migrate RAILS_ENV=production   rake redmine:plugins:migrate RAILS_ENV=production
  
 +Run Migration for single plugin starting with Version 0
 +
 +  rake db:migrate:plugin NAME=whitewall VERSION=0
 +
 +Generate Migration:
 +
 +  rails generate migration IssueAddEditor
 +
 +Set DEV Enviroment
  
 Add following to config/environment.rb Add following to config/environment.rb
Line 15: Line 24:
   # GET RID OF RESTART FOR EACH AND EVERY BLOODY CODE CHANGE!   # GET RID OF RESTART FOR EACH AND EVERY BLOODY CODE CHANGE!
   ENV['RAILS_ENV'] ||= 'development'   ENV['RAILS_ENV'] ||= 'development'
 +
 ===== Cron Reposman ===== ===== Cron Reposman =====
  
Line 43: Line 53:
 @workDaysOnly = working_days(from, to) @workDaysOnly = working_days(from, to)
 </code> </code>
 +
 +Get assignable users:
 +
 +@issue.assignable_users
redmine_commands.txt · Last modified: 2015/11/23 13:29 by admin