@@ -1,13 +1,13 | |||||
1 | == Redmine installation |
|
1 | == Redmine installation | |
2 |
|
2 | |||
3 | Redmine - project management software |
|
3 | Redmine - project management software | |
4 |
Copyright (C) 2006-200 |
|
4 | Copyright (C) 2006-2010 Jean-Philippe Lang | |
5 | http://www.redmine.org/ |
|
5 | http://www.redmine.org/ | |
6 |
|
6 | |||
7 |
|
7 | |||
8 | == Requirements |
|
8 | == Requirements | |
9 |
|
9 | |||
10 |
* Ruby on Rails 2. |
|
10 | * Ruby on Rails 2.3.5 | |
11 | * A database: |
|
11 | * A database: | |
12 | * MySQL (tested with MySQL 5) |
|
12 | * MySQL (tested with MySQL 5) | |
13 | * PostgreSQL (tested with PostgreSQL 8.1) |
|
13 | * PostgreSQL (tested with PostgreSQL 8.1) |
@@ -1,7 +1,7 | |||||
1 | == Redmine upgrade procedure |
|
1 | == Redmine upgrade procedure | |
2 |
|
2 | |||
3 | Redmine - project management software |
|
3 | Redmine - project management software | |
4 |
Copyright (C) 2006-200 |
|
4 | Copyright (C) 2006-2010 Jean-Philippe Lang | |
5 | http://www.redmine.org/ |
|
5 | http://www.redmine.org/ | |
6 |
|
6 | |||
7 |
|
7 | |||
@@ -9,20 +9,25 http://www.redmine.org/ | |||||
9 |
|
9 | |||
10 | 1. Uncompress the program archive in a new directory |
|
10 | 1. Uncompress the program archive in a new directory | |
11 |
|
11 | |||
12 |
|
|
12 | 2. Copy your database settings (RAILS_ROOT/config/database.yml) | |
13 | and SMTP settings (RAILS_ROOT/config/email.yml) |
|
13 | and SMTP settings (RAILS_ROOT/config/email.yml) | |
14 | into the new config directory |
|
14 | into the new config directory | |
|
15 | DO NOT REPLACE ANY OTHERS FILES. | |||
15 |
|
16 | |||
16 |
|
|
17 | 3. Migrate your database (please make a backup before doing this): | |
17 | rake db:migrate RAILS_ENV="production" |
|
18 | rake db:migrate RAILS_ENV="production" | |
18 |
|
19 | |||
19 |
|
|
20 | 4. Copy the RAILS_ROOT/files directory content into your new installation | |
20 | This directory contains all the attached files |
|
21 | This directory contains all the attached files | |
21 |
|
22 | |||
|
23 | 5. Generate a session store secret | |||
|
24 | Redmine stores session data in cookies by default, which requires | |||
|
25 | a secret to be generated. Run: | |||
|
26 | rake config/initializers/session_store.rb | |||
22 |
|
27 | |||
23 | == Notes |
|
28 | == Notes | |
24 |
|
29 | |||
25 |
1. Rails 2. |
|
30 | 1. Rails 2.3.5 is required for version 0.9. | |
26 |
|
31 | |||
27 | 2. When upgrading your code with svn update, don't forget to clear |
|
32 | 2. When upgrading your code with svn update, don't forget to clear | |
28 | the application cache (RAILS_ROOT/tmp/cache) before restarting. |
|
33 | the application cache (RAILS_ROOT/tmp/cache) before restarting. |
General Comments 0
You need to be logged in to leave comments.
Login now