OSDN Git Service

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