You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

INSTALL 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. == Redmine installation
  2. Redmine - project management software
  3. Copyright (C) 2006-2010 Jean-Philippe Lang
  4. http://www.redmine.org/
  5. == Requirements
  6. * Ruby on Rails 2.3.5
  7. * A database:
  8. * MySQL (tested with MySQL 5)
  9. * PostgreSQL (tested with PostgreSQL 8.1)
  10. * SQLite (tested with SQLite 3)
  11. Optional:
  12. * SVN binaries >= 1.3 (needed for repository browsing, must be available in PATH)
  13. * RMagick (gantt export to png)
  14. == Installation
  15. 1. Uncompress the program archive
  16. 2. Create an empty database: "redmine" for example
  17. 3. Configure database parameters in config/database.yml
  18. for "production" environment (default database is MySQL)
  19. 4. Create the database structure. Under the application main directory:
  20. rake db:migrate RAILS_ENV="production"
  21. It will create tables and an administrator account.
  22. 5. Generate a session store secret
  23. Redmine stores session data in cookies by default, which requires
  24. a secret to be generated. Run:
  25. rake config/initializers/session_store.rb
  26. 6. Setting up permissions
  27. The user who runs Redmine must have write permission on the following
  28. subdirectories: files, log, tmp (create the last one if not present).
  29. Assuming you run Redmine with a user named redmine:
  30. mkdir tmp
  31. sudo chown -R redmine:redmine files log tmp
  32. sudo chmod -R 755 files log tmp
  33. 7. Test the installation by running WEBrick web server:
  34. ruby script/server -e production
  35. Once WEBrick has started, point your browser to http://localhost:3000/
  36. You should now see the application welcome page
  37. 8. Use default administrator account to log in:
  38. login: admin
  39. password: admin
  40. Go to "Administration" to load the default configuration data (roles,
  41. trackers, statuses, workflow) and adjust application settings
  42. == Email delivery Configuration
  43. Copy config/email.yml.example to config/email.yml and edit this file
  44. to adjust your SMTP settings.
  45. Don't forget to restart the application after any change to this file.
  46. Please do not enter your SMTP settings in environment.rb.