@@ -30,15 +30,15 Optional: | |||||
30 | 3. Configure database parameters in config/database.yml |
|
30 | 3. Configure database parameters in config/database.yml | |
31 | for "production" environment (default database is MySQL) |
|
31 | for "production" environment (default database is MySQL) | |
32 |
|
32 | |||
33 | 4. Create the database structure. Under the application main directory: |
|
33 | 4. Generate a session store secret | |
34 | rake db:migrate RAILS_ENV="production" |
|
|||
35 | It will create tables and an administrator account. |
|
|||
36 |
|
||||
37 | 5. Generate a session store secret |
|
|||
38 | Redmine stores session data in cookies by default, which requires |
|
34 | Redmine stores session data in cookies by default, which requires | |
39 | a secret to be generated. Run: |
|
35 | a secret to be generated. Run: | |
40 | rake config/initializers/session_store.rb |
|
36 | rake config/initializers/session_store.rb | |
41 |
|
37 | |||
|
38 | 5. Create the database structure. Under the application main directory: | |||
|
39 | rake db:migrate RAILS_ENV="production" | |||
|
40 | It will create tables and an administrator account. | |||
|
41 | ||||
42 | 6. Setting up permissions |
|
42 | 6. Setting up permissions | |
43 | The user who runs Redmine must have write permission on the following |
|
43 | The user who runs Redmine must have write permission on the following | |
44 | subdirectories: files, log, tmp (create the last one if not present). |
|
44 | subdirectories: files, log, tmp (create the last one if not present). |
@@ -13,17 +13,17 http://www.redmine.org/ | |||||
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 | DO NOT REPLACE ANY OTHERS FILES. | |
16 |
|
||||
17 | 3. Migrate your database (please make a backup before doing this): |
|
|||
18 | rake db:migrate RAILS_ENV="production" |
|
|||
19 |
|
||||
20 | 4. Copy the RAILS_ROOT/files directory content into your new installation |
|
|||
21 | This directory contains all the attached files |
|
|||
22 |
|
16 | |||
23 |
|
|
17 | 3. Generate a session store secret | |
24 | Redmine stores session data in cookies by default, which requires |
|
18 | Redmine stores session data in cookies by default, which requires | |
25 | a secret to be generated. Run: |
|
19 | a secret to be generated. Run: | |
26 | rake config/initializers/session_store.rb |
|
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 |
|
27 | |||
28 | == Notes |
|
28 | == Notes | |
29 |
|
29 |
General Comments 0
You need to be logged in to leave comments.
Login now