Redmine

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第60行: 第60行:
  
 
直接在命令行下编译, Ruby版本为 ruby 1.8.5 (2006-08-25) [i386-linux]
 
直接在命令行下编译, Ruby版本为 ruby 1.8.5 (2006-08-25) [i386-linux]
 +
 +
Requirements
 +
* Ruby 1.8.6
 +
 +
重新安装 Ruby 1.8.6
 +
 +
1. Uncompress the program archive
 +
 
 +
2. Create an empty database: "redmine" for example
 +
 +
3. Configure database parameters in config/database.yml
 +
  for "production" environment (default database is MySQL)
 +
 +
4. Create the database structure. Under the application main directory:
 +
  rake db:migrate RAILS_ENV="production"
 +
  It will create tables and an administrator account.
 +
 +
5. Insert default configuration data in the database:
 +
  rake redmine:load_default_data RAILS_ENV="production"
 +
  It will load default roles, trackers, statuses, workflows and enumerations.
 +
  This step is optional but *highly recommended*
 +
 +
6. Test the installation by running WEBrick web server:
 +
  ruby script/server -e production 
 +
 
 +
  Once WEBrick has started, point your browser to http://localhost:3000/
 +
  You should now see the application welcome page
 +
 +
7. Use default administrator account to log in:
 +
  login: admin
 +
  password: admin
 +
 
 +
8. You can go to "Admin -> Settings" to modify application settings.
 +
 +
9. Setup Apache or Lighttpd with fastcgi for best performance.
 +
 
==Continuous integration==
 
==Continuous integration==
 
[[Image:redmine-continuous-integration.png|right|thumb|Continuous Integration Plugin]]
 
[[Image:redmine-continuous-integration.png|right|thumb|Continuous Integration Plugin]]

2007年12月7日 (五) 12:01的版本

redMine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database.

redMine is open source and released under the terms of the GNU General Public License (GPL).

目录

Features

  • Multiple projects support
  • Flexible role based access control.
  • Flexible issue tracking system
  • Gantt chart and calendar
  • News, documents & files management
  • Feeds & email notifications.
  • Per project wiki
  • Per project forums
  • Simple time tracking functionality
  • Custom fields for issues, projects and users
  • Repository integration (SVN, CVS, Mercurial and Darcs)
  • Multiple LDAP authentication support
  • User self-registration support
  • Multilanguage support
  • Multiple databases support

Download

Latest source

You can checkout the latest source from the SVN repository trunk.

svn checkout svn://rubyforge.org/var/svn/redmine/trunk

Or

svn checkout http://redmine.rubyforge.org/svn/trunk/

download Latest release from

Install

wget http://download.huihoo.com/redmine/redmine-0.6.0.tar.gz
tar zxvf redmine-0.6.0.tar.gz

通过NetBeans IDE 6.0 > New Project > Ruby > Ruby on Rails Application with Existing Sources 导入 redmine-0.6.0

选择 Ruby Interpreter 为 JRuby

创建数据库, 在 mysql 中创建以下数据库:

  • redmine
  • redmine_development
  • redmine_test

cd redmine-0.6.0/config copy database.yml.exmple to database.yml

修改 Configuration>database.yml中的mysql连接信息

导入原始数据:

In the Projects window, right-click the readmin-0.6.0 project node and choose Migrate Database > To Current Version from the pop-up menu.

Windows和Linux下均出现以下错误:

rake aborted!
org.jvyamlb.ParserException: ParserException while scanning a block mapping we had this expected <block end>, but found  
org.jvyamlb.tokens.BlockEntryToken

看来是JRuby的问题

直接在命令行下编译, Ruby版本为 ruby 1.8.5 (2006-08-25) [i386-linux]

Requirements

  • Ruby 1.8.6

重新安装 Ruby 1.8.6

1. Uncompress the program archive

2. Create an empty database: "redmine" for example

3. Configure database parameters in config/database.yml

  for "production" environment (default database is MySQL)

4. Create the database structure. Under the application main directory:

  rake db:migrate RAILS_ENV="production"
  It will create tables and an administrator account.

5. Insert default configuration data in the database:

  rake redmine:load_default_data RAILS_ENV="production"
  It will load default roles, trackers, statuses, workflows and enumerations.
  This step is optional but *highly recommended*

6. Test the installation by running WEBrick web server:

  ruby script/server -e production   
 
  Once WEBrick has started, point your browser to http://localhost:3000/
  You should now see the application welcome page

7. Use default administrator account to log in:

  login: admin
  password: admin
  

8. You can go to "Admin -> Settings" to modify application settings.

9. Setup Apache or Lighttpd with fastcgi for best performance.

Continuous integration

Continuous Integration Plugin

A generic plugin for integrating per project RSS continuous integration feeds in Redmine.

svn co svn://rubyforge.org/var/svn/redmine/plugins/simple_ci 

http://www.redmine.org/wiki/1/PluginSimpleCI

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱