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 [2014/09/12 11:05] – [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
 +
 +  # GET RID OF RESTART FOR EACH AND EVERY BLOODY CODE CHANGE!
 +  ENV['RAILS_ENV'] ||= 'development'
 +
 +Update Commit history:
 +<code>
 +./script/rails runner "Repository.fetch_changesets" -e production
 +</code>
 ===== Cron Reposman ===== ===== Cron Reposman =====
  
Line 38: Line 57:
 @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