2015年1月17日 星期六

Install Redmine plugin on OpenShift (ex. TimeSheet)


There are 2 TimeSheet Redmine plugin that I have survey.

1. TimeSheets Application
  (https://github.com/maxrossello/redmine_app_timesheets)
2. TimeSheet
  (https://github.com/arkhitech/redmine_timesheet_plugin)

Install TimeSheets Application plugin into OpenShift:
1. Goto redmine root directory
  $ cd redmine
2. git clone with submodule method. (redmine_app__space is the depend plugin)
  $ git submodule add -f https://github.com/maxrossello/redmine_app__space.git plugins/redmine_app__space
   $ git sub modle add -f https://github.com/maxrossello/redmine_app_timesheets.git plugins/redmine_app_timesheet
3. Commit into local repo.
  $ git commit -m "Add TimeSheets Application Plugin"
4. Push to remote repo.
  $ git push
5. If the database information does not be migrate, please login OpenShift server, and rebuild it.
  $ rhc ssh
  $ cd app-root/repo
  $ RAILS_ENV=production rake redmine:plugins:migrate

Install TimeSheet plugin into Openshift:
1. Goto redmine root directory
  $ cd redmine
2. git clone with submodule method.
  git submodule add -f https://github.com/arkhitech/redmine_timesheet_plugin.git plugins/redmine_timesheet_plugin
3. commit into local repo
  $ git commit -m "Add TimeSheet Plugin"
4. Push to remote repo.
  $ git push
5. If the database information does not be migrate, please login OpenShift server, and rebuild it.
  $ rhc ssh
  $ cd app-root/repo
  $ RAILS_ENV=production rake redmine:plugins:migrate

Notes:
1. After I install TimeSheets Application Plugin then I install TimeSheet Plugin, but the TimeSheet Plugin can NOT work. (I don't know what happened)
2. I don't know the usage of "Order" in TimeSheets Application Plugin. (How to delete Order?)

沒有留言: