官网安装指南:http://www.redmine.org/projects/redmine/wiki/RedmineInstall
安装环境:win10 64位
MySQL:http://dev.mysql.com/downloads/windows/installer/ (安装时版本:5.7.13)
railsinstaller:http://railsinstaller.org/en (安装时版本:3.2.0)
下载安装MySQL
安装railsinstaller (注意:不能有空格)
Step 1 - Redmine application¶
Get the Redmine source code by either downloading a packaged release or checking out the code repository.
Step 2 - Create an empty database and accompanying user
Redmine database user will be named redmine
hereafter but it can be changed to anything else.
MySQL
Step 3 - Database connection configuration
Copy config/database.yml.example
to config/database.yml
and edit this file in order to configure your database settings for "production" environment.
Example for a MySQL database using ruby 1.8 or jruby:
Step 4 - Dependencies installation
Redmine uses Bundler to manage gems dependencies.
You need to install Bundler first:
Then you can install all the gems required by Redmine using the following command:
Step 5 - Session store secret generation
This step generates a random key used by Rails to encode cookies storing session data thus preventing their tampering.
Generating a new secret token invalidates all existing sessions after restart.
- with Redmine 2.x:
Step 6 - Database schema objects creation
Create the database structure, by running the following command under the application root directory:
Windows syntax:
Step 7 - Database default data set
Windows:
Step 9 - Test the installation¶
Test the installation by running WEBrick web server:
- with Redmine 3.x:
Once WEBrick has started, point your browser to http://localhost:3000/. You should now see the application welcome page.
其他IP也可访问
Step 10 - Logging into the application
Use default administrator account to log in:
- login: admin
- password: admin
You can go to Administration menu and choose Settings to modify most of the application settings.
其他参考官方文档
参考链接:http://www.51testing.com/html/29/595529-853889.html