@@ -29,8 +29,13 Optional: | |||||
29 | 4. Create the database structure. Under the application main directory: |
|
29 | 4. Create the database structure. Under the application main directory: | |
30 | rake db:migrate RAILS_ENV="production" |
|
30 | rake db:migrate RAILS_ENV="production" | |
31 | It will create tables and an administrator account. |
|
31 | It will create tables and an administrator account. | |
|
32 | ||||
|
33 | 5. Generate a session store secret | |||
|
34 | Redmine stores session data in cookies by default, which requires | |||
|
35 | a secret to be generated. Run: | |||
|
36 | rake config/initializers/session_store.rb | |||
32 |
|
37 | |||
33 |
|
|
38 | 6. Setting up permissions | |
34 | The user who runs Redmine must have write permission on the following |
|
39 | The user who runs Redmine must have write permission on the following | |
35 | subdirectories: files, log, tmp (create the last one if not present). |
|
40 | subdirectories: files, log, tmp (create the last one if not present). | |
36 |
|
41 | |||
@@ -39,13 +44,13 Optional: | |||||
39 | sudo chown -R redmine:redmine files log tmp |
|
44 | sudo chown -R redmine:redmine files log tmp | |
40 | sudo chmod -R 755 files log tmp |
|
45 | sudo chmod -R 755 files log tmp | |
41 |
|
46 | |||
42 |
|
|
47 | 7. Test the installation by running WEBrick web server: | |
43 | ruby script/server -e production |
|
48 | ruby script/server -e production | |
44 |
|
49 | |||
45 | Once WEBrick has started, point your browser to http://localhost:3000/ |
|
50 | Once WEBrick has started, point your browser to http://localhost:3000/ | |
46 | You should now see the application welcome page |
|
51 | You should now see the application welcome page | |
47 |
|
52 | |||
48 |
|
|
53 | 8. Use default administrator account to log in: | |
49 | login: admin |
|
54 | login: admin | |
50 | password: admin |
|
55 | password: admin | |
51 |
|
56 |
General Comments 0
You need to be logged in to leave comments.
Login now