Reference: http://www.redmine.org/projects/redmine/wiki/RedmineInstall
Redmine is a Web-based project management software developed using Ruby. It is a cross-platform project management system developed using the ROR framework. It is said that it comes from the ROR version of Basecamp and supports multiple databases, it has many unique functions, such as providing Wiki and news platforms. It can also integrate other version management systems and bug tracking systems, such as SVN, CVS, and TD. This web-based project management system organizes members, tasks (problems), documents, discussions, and various forms of resources in the form of "projects, everyone participates in updating tasks, documents, and other content to promote the project progress. At the same time, the system uses time clues and various dynamic reports to automatically report the project progress to members.
I have always had reverence for redmine, so I have nothing to do with it. The environment is as follows:
In order not to waste time on the configuration environment, I found the railsinstaller, Ruby and rails Integration set.
Web site: http://railsinstaller.org/use railsinstaller-2.1.0
Ruby 1.9.3-p125
Rails 3.2
Bundler 1.0.18
Git 1.7.6
SQLite 3.7.3
Tinytds 0.4.5
SQL Server Support 3.3.3
For MySQL 5.5
1. Install railsinstaller
2. Install bundler. It seems that you do not have to install it after installing 1, just in case you have installed it again.
gem install bundler
bundle install --without development test
3. Install rmagick
ImageMagick needs to be installed, select the installation environment variable and C/C ++ header file,: http://www.imagemagick.org/script/binary-releases.php#windows
set CPATH=C:\Program Files\ImageMagick-6.7.7-Q16\includeset LIBRARY_PATH=C:\Program Files\ImageMagick-6.7.7-Q16\lib
gem install rmagick or bundle install --without=development test, etc.
Reference http://www.redmine.org/projects/redmine/wiki/HowTo_install_rmagick_gem_on_Windows
4. Create a MySQL database
create database redmine character set utf8;create user 'redmine'@'localhost' identified by 'my_password';grant all privileges on redmine.* to 'redmine'@'localhost';
5. Copy config/database. yml. Example to config/database. yml to modify the "production" Configuration:
production: adapter: mysql2 database: redmine host: localhost username: redmine password: my_password
6. Create a session key
rake generate_secret_token
7. Create a database structure
RAILS_ENV=production rake db:migrate
The master is stuck here...
The problem is that it must be written in windows.
rake db:migrate RAILS_ENV="production"
The error message "couldn't parse yaml at line 18 column 2" is displayed because a space is required after each colon when you modify Database. yml.
Run the "create database" command again and prompt "Incorrect MYSQL client library version! This gem was compiled for 6.0.0 but
Client library is 5.5.20.
Refer to Region
Then, the error "can't connect to MySQL server on 'localhost' (10061)" is returned)
Because the use of IPv6 causes localhost not to point to 127.0.0.1, solution refer to http://stackoverflow.com/questions/10792862/rails-development-cant-connect-to-mysql-server-on-localhost-10061
8. Load default data to the database
rake redmine:load_default_data RAILS_ENV="production"
Select ZH when selecting a language.
9. Run webrick web server test and Installation
ruby script/rails server webrick -e production
So far, the installation is complete and you will talk about it later.
The demo address is http://demo.redmine.org/
Preliminary use: Permission control, multi-project management, bug submission, task creation and assignment, task calendar, and Gantt chart.