Project management software redmine installation and deployment in Windows

Source: Internet
Author: User
Tags redmine
Project management software redmine installation and deployment in Windows

Manual installation of Redmine is very troublesome, and it is very easy to install and deploy using InstantRails

Because redmine 1.0.0 requires a higher version than the InstantRails-2.0, using Redmine1.0 in

InstantRails-2.0 installation is relatively complex, not suitable for beginners. This article uses Redmine version 0.8.4, which is very suitable for beginners.

The installation procedure is as follows:

1. Download InstantRails http://rubyforge.org/frs/download.php/29867/InstantRails-2.0-win.zip
2. Unzip the package without installation.
3. Add C:/InstantRails-2.0-win/ruby/bin to the environment variable path;
6. Download redmine (version 0.8.4) address (http://rubyforge.org/frs? Group_id = 1850), decompress the package, put it in the C:/InstantRails-2.0-win/rails_apps directory
7. Run C:/InstantRails-2.0-win/InstantRails.exe. Check if apache is running properly.
8. Configure the database. Here I use the sqlite3 database, which is relatively simple to back up. Rename: the database. yml. example file under the InstantRails-2.0-win/rails_apps/redmine-0.8.4/config/directory is database. yml

The configuration is as follows:

Production:
Adapter: sqlite3
Database: db/redmine. sqlite3
Host: localhost
Username:
Password:
Encoding: utf8

Development:
Adapter: sqlite3
Database: db/redmine. sqlite3
Host: localhost
Username:
Password:
Encoding: utf8

9. import data to the database:

Click I-Rails Applications-Open Ruby Console Window on the instantRails interface to exit the dos Window. Run the following command on the command line:

Cd redmine-0.8.4

Rake db: migrate rails_env = "production"

Rake load_default_data Rails_env = "production"

Here, rake db: migrate rails_env = "production" is used to create a database: rake load_default_data rails_env = "production" indicates that the running environment of the current project is production. You are prompted to select a language, select zh.

10:

Now the configuration is complete, click the InstantRails interface I-RAILS Applications-manage rails applications column, click "start with mongrel" to start redmine 0.8.4, jump out of a dos window, you can start Redmine

11. Enter http: // localhost: 3000/in the browser, enter the username, admin, and password admin to enter the redmine management interface.

12. A dos window is required for redmine startup. You can use redmine as a windows service to enable the operating system to automatically start the redmine server.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.