Adds rake config/initializers/session_store.rb to the install doc.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2496 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-02-21 11:13:37 +00:00
parent 6b770fa70c
commit 95ba220b79
1 changed files with 8 additions and 3 deletions

View File

@ -29,8 +29,13 @@ Optional:
4. Create the database structure. Under the application main directory: 4. Create the database structure. Under the application main directory:
rake db:migrate RAILS_ENV="production" rake db:migrate RAILS_ENV="production"
It will create tables and an administrator account. It will create tables and an administrator account.
5. Generate a session store secret
Redmine stores session data in cookies by default, which requires
a secret to be generated. Run:
rake config/initializers/session_store.rb
5. Setting up permissions 6. Setting up permissions
The user who runs Redmine must have write permission on the following The user who runs Redmine must have write permission on the following
subdirectories: files, log, tmp (create the last one if not present). subdirectories: files, log, tmp (create the last one if not present).
@ -39,13 +44,13 @@ Optional:
sudo chown -R redmine:redmine files log tmp sudo chown -R redmine:redmine files log tmp
sudo chmod -R 755 files log tmp sudo chmod -R 755 files log tmp
6. Test the installation by running WEBrick web server: 7. Test the installation by running WEBrick web server:
ruby script/server -e production ruby script/server -e production
Once WEBrick has started, point your browser to http://localhost:3000/ Once WEBrick has started, point your browser to http://localhost:3000/
You should now see the application welcome page You should now see the application welcome page
7. Use default administrator account to log in: 8. Use default administrator account to log in:
login: admin login: admin
password: admin password: admin