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
redmine_commands [2015/01/28 16:28] – [Redmine related commands] adminredmine_commands [2015/11/23 13:29] (current) – [Redmine related commands] 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'
 +
 +Update Commit history:
 +<code>
 +./script/rails runner "Repository.fetch_changesets" -e production
 +</code>
 ===== Cron Reposman ===== ===== Cron Reposman =====
  
Line 43: Line 57:
 @workDaysOnly = working_days(from, to) @workDaysOnly = working_days(from, to)
 </code> </code>
 +
 +Get assignable users:
 +
 +@issue.assignable_users
redmine_commands.1422458897.txt.gz · Last modified: 2015/01/28 16:28 by admin