@@ -53,6 +53,9 Optional: | |||
|
53 | 53 | a secret to be generated. Under the application main directory run: |
|
54 | 54 | bundle exec rake generate_secret_token |
|
55 | 55 | |
|
56 | Alternatively, you can store this secret in config/secrets.yml: | |
|
57 | http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml | |
|
58 | ||
|
56 | 59 | 6. Create the database structure |
|
57 | 60 | |
|
58 | 61 | Under the application main directory run: |
@@ -44,10 +44,16 http://www.redmine.org/ | |||
|
44 | 44 | |
|
45 | 45 | 6. Generate a session store secret |
|
46 | 46 | |
|
47 | Redmine stores session data in cookies by default, which requires | |
|
48 | a secret to be generated. Under the new application directory run: | |
|
47 | If you're upgrading from Redmine 2.x or below, remove the following file | |
|
48 | if it exists: config/initializers/secret_token.rb | |
|
49 | ||
|
50 | Then generate a new secret by running the following command under the | |
|
51 | application directory: | |
|
49 | 52 | bundle exec rake generate_secret_token |
|
50 | 53 | |
|
54 | Alternatively, you can store this secret in config/secrets.yml: | |
|
55 | http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml | |
|
56 | ||
|
51 | 57 | DO NOT REPLACE OR EDIT ANY OTHER FILES. |
|
52 | 58 | |
|
53 | 59 | 7. Migrate your database |
General Comments 0
You need to be logged in to leave comments.
Login now