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.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 1.8.6 or 1.8.7
  7. * Ruby on Rails 2.3.5 (official downloadable Redmine releases are packaged with
  8. the appropriate Rails version)
  9. * Rack 1.0.1
  10. * RubyGems 1.3.1
  11. * Rake 0.8.3
  12. * A database:
  13. * MySQL (tested with MySQL 5)
  14. * PostgreSQL (tested with PostgreSQL 8.1)
  15. * SQLite (tested with SQLite 3)
  16. Optional:
  17. * SCM binaries (e.g. svn), for repository browsing (must be available in PATH)
  18. * RMagick (to enable Gantt export to png images)
  19. * Ruby OpenID Library >= version 2 (to enable OpenID support)
  20. == Installation
  21. 1. Uncompress the program archive
  22. 2. Create an empty database: "redmine" for example
  23. 3. Configure the database parameters in config/database.yml
  24. for the "production" environment (default database is MySQL)
  25. 4. Generate a session store secret
  26. Redmine stores session data in cookies by default, which requires
  27. a secret to be generated. Under the application main directory run:
  28. rake generate_session_store
  29. 5. Create the database structure
  30. Under the application main directory run:
  31. rake db:migrate RAILS_ENV="production"
  32. It will create all the tables and an administrator account.
  33. 6. Setting up permissions (Windows users have to skip this section)
  34. The user who runs Redmine must have write permission on the following
  35. subdirectories: files, log, tmp & public/plugin_assets (create the last
  36. two if they are not yet present).
  37. Assuming you run Redmine with a user named "redmine":
  38. mkdir tmp public/plugin_assets
  39. sudo chown -R redmine:redmine files log tmp public/plugin_assets
  40. sudo chmod -R 755 files log tmp public/plugin_assets
  41. 7. Test the installation by running the WEBrick web server
  42. Under the main application directory run:
  43. ruby script/server -e production
  44. Once WEBrick has started, point your browser to http://localhost:3000/
  45. You should now see the application welcome page.
  46. 8. Use the default administrator account to log in:
  47. login: admin
  48. password: admin
  49. Go to "Administration" to load the default configuration data (roles,
  50. trackers, statuses, workflow) and to adjust the application settings
  51. == SMTP server Configuration
  52. Copy config/email.yml.example to config/email.yml and edit this file
  53. to adjust your SMTP settings.
  54. Do not forget to restart the application after any change to this file.
  55. Please do not enter your SMTP settings in environment.rb.
  56. == References
  57. * http://www.redmine.org/wiki/redmine/RedmineInstall
  58. * http://www.redmine.org/wiki/redmine/EmailConfiguration
  59. * http://www.redmine.org/wiki/redmine/RedmineSettings
  60. * http://www.redmine.org/wiki/redmine/RedmineRepositories
  61. * http://www.redmine.org/wiki/redmine/RedmineReceivingEmails
  62. * http://www.redmine.org/wiki/redmine/RedmineReminderEmails
  63. * http://www.redmine.org/wiki/redmine/RedmineLDAP