todo list在日常工作中很重要。在Remine中,可以为自己创建一个私人项目,然后安装todo list插件,并运用到这个私人项目中。
下面是安装:
下载代码到plugins目录下:
root@test:/usr/src/redmine-2.4.2/plugins# git clone https://github.com/AZielinski/Redmine-Todo-lists.git
重命名目录:
root@test:/usr/src/redmine-2.4.2/plugins#mv Redmine-Todo-lists/ redmine_todos
设置环境变量:
root@test:/usr/src/redmine-2.4.2# RAILS_ENV=production root@test:/usr/src/redmine-2.4.2# export RAILS_ENV
运行安装命令:
root@test:/usr/src/redmine-2.4.2# rake redmine:plugins:migrate Migrating redmine_backlogs (Redmine Backlogs)... Migrating redmine_todos (Redmine Todo Lists (Basecamp-like) plugin)... == CreateTodoLists: migrating ================================================ -- create_table(:todo_lists) -> 0.1990s -- create_table(:todo_items) -> 0.0279s == CreateTodoLists: migrated (0.2271s) ======================================= == AddPrivateField: migrating ================================================ -- change_table(:todo_lists) -> 0.0424s == AddPrivateField: migrated (0.0425s) =======================================
重新启动redmine。
然后创建一个project,启用todos模块。当然要设置tracker, workflow和权限等等。