Linux Redmine 以及FAQ 0.3.5安装与配置(2)

再# rake db:migrate RAILS_ENV=”production”     
# rake redmine:load_default_data RAILS_ENV=”production”        //加载默认配置
这里会要求选择默认语言,我选的中文zh:
Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] zh
这个默认设置只是在未登录时的界面语言,当用户登录后,默认语言还是英语,在My account里可以修改成其它语言。
启动WEB服务
# ruby script/server webrick -e production
或# ruby /usr/local/redmine/script/server webrick -e production
停止web服务方法:在当前启动窗口按ctrl+C
访问:3000/
初始用户名/密码:admin/admin
这样启动后,启动窗口是不能关闭的,所以要使Redmine作为服务启动,需添加-d参数:
# ruby script/server webrick -e production -d
或# ruby /usr/local/redmine/script/server webrick -e production –d
停止服务方法:(ps命令查出此进程的pid号,再杀掉,目前好像只能这样,我看了–help里面,还没有停止的参数。)
# ps aux | grep ruby
# kill -9 [PID

ezFAQ plugin 0.3.5

This is a FAQ management plugin for Redmine.
ONLY compatible with Redmine last devel. NOT compatible with Redmine 0.8.x

=== Feature

1. Ask question and request a user to answer it.
2. FAQ is grouped by categories.
3. FAQ's modification has history logs.
4. Send notify email to the author and the assigned user who should answer the question.
5. FAQ creation or update is added to redmine's activity.
6. FAQ and FAQ-list can be exported to PDF document.
7. FAQ are searchable using redmine's search engine.

=== Note

Since the plugin applies a patch to redmine core, it can only run properly under
production environment. When runs under development envrionment, the faq with attachments
will fail to show.

Redmine currently doesn't support plugin to extend its search scope, so you have to
modify redmine's search controller to search FAQ.
(Edit ln51 in search_controller.rb, add faqs to the @object_types)

=== Plugin installation

1. Copy the plugin directory(ezfaq_plugin) into the vendor/plugins directory
   NOTE: The plugin directory must be ezfaq_plugin!

2. Migrate plugin:
   rake db:migrate_plugins

if can't run u can use: rake db:migrate_plugins RAILS_ENV=production

3. Start Redmine

Installed plugins are listed on 'Admin -> Plugins' screen.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/26285.html