欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Redmine
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
在 NetBeans 6.0 下编译 redMine
安装 Ruby:
http://download.huihoo.com/ruby/ruby186-26_rc2.exe
安装 Rails:
http://download.huihoo.com/ruby/rails-1.2.3.zip
按顺序安装
gem install activesupport-1.4.2.gem gem install activerecord-1.15.3.gem gem install actionpack-1.13.3.gem gem install actionmailer-1.3.3.gem gem install actionwebservice-1.2.3.gem gem install rails-1.2.3.gem rails -v 显示Rails 1.2.3 :)
通过NetBeans IDE 6.0 > New Project > Ruby > Ruby on Rails Application with Existing Sources 导入 redmine-0.6.0
选择 Ruby Interpreter 是 Ruby // JRuby编译redmine有问题
创建数据库, 在 mysql 中创建以下数据库:
- redmine
- redmine_development
- redmine_test
这样创建: CREATE DATABASE test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
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.
安装成功,启动应用:
right-click the readmin-0.6.0 project node and choose Run http://localhost:3000 :)
或
Create an empty database: "redmine" CREATE redmine test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; rake db:migrate RAILS_ENV="production" rake redmine:load_default_data RAILS_ENV="production" ruby script/server -e production http://localhost:3000/ 用户信息: admin/admin
部署到 Apache HTTPD上
命令行下编译:
Requirements
- Ruby 1.8.6
- Rails >= 1.2.2
先卸载Ruby 1.8.5, 再重新安装 Ruby 1.8.6
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.zip unzip ruby-1.8.6.zip ./configure --prefix=/usr/lib --exec-prefix=/usr/bin // 默认是/usr/local or ln /usr/local/bin/ruby /usr/bin/ruby make make install ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
编译成功
$ gem list --local # gem install rails --include-dependencies
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
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