Redmine initial experience

Source: Internet
Author: User
Tags redmine

1. Download install rails, redmine, rubygem 1.3.7.gem,
Http://rubyforge.org/frs/download.php/29867/InstantRails-2.0-win.zip
Http://rubyforge.org/frs/download.php/75099/redmine-1.2.1.zip
Http://rubyforge.org/frs/download.php/70695/rubygems-update-1.3.7.gem

2. Decompress install rails and decompress redmine to install rails/rails apps.

3. Remove database. yml. Example from instantrails/rails_apps/redmine/config.

4.run installrails.exe, and then open the MySQL management interface to create the database http: // 127.0.0.1/MySQL/. Run
-- Corresponding to Production
Create Database redmine Character Set utf8;
-- Corresponding to development
Create Database redmine_development Character Set utf8;
-- Corresponds to test
Create Database redmine_test Character Set utf8;

5. Open the command line and enter the redmine directory, such as c: \ installrails \ webapps \ redmine_1.2.1. initialize the data structure and basic data, and set the default database.
Rake db: migrate RAILS_ENV = "production" create the data structure of the production (that is, the redmine database)
Many problems may occur here...
1> install 1.3.7.gem, go to the path where 1.3.7.gem is located, and then execute
Gem install -- local rubygems-update-1.3.7.gem
Update_rubygems
Gem install rack-v = 1.1.0
Gem install-v = 2.3.5 rails
Gem install-v = 0.4.2 i18n
Gem uninstall rack
Gem install rack-v = 1.1.0
Enter redmine \ config \ environment. rb and add the configuration before the last end.
Config. action_controller.session = {: key => "_ myapp_session",: secret => "4035ba51531c6c96a27e3dd41e3d4471 "}
Run rake db: migrate RAILS_ENV = "production". Then, you can see that table Creation starts.
2> rake redmine: load_default_data RAILS_ENV = "production": Set the default data source to the database corresponding to production, and select the language.

6. Enter the redmine path, execute ruby script/server-e production, start the service, and then you can log on, the address is the http://xxx.xxx.xxx.xxx/3000

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.