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 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. == Redmine installation
  2. Redmine - project management software
  3. Copyright (C) 2006-2013 Jean-Philippe Lang
  4. http://www.redmine.org/
  5. == Requirements
  6. * Ruby 1.8.7, 1.9.2, 1.9.3 or 2.0.0
  7. * RubyGems
  8. * Bundler >= 1.0.21
  9. * A database:
  10. * MySQL (tested with MySQL 5.1)
  11. * PostgreSQL (tested with PostgreSQL 9.1)
  12. * SQLite3 (tested with SQLite 3.7)
  13. * SQLServer (tested with SQLServer 2012)
  14. Optional:
  15. * SCM binaries (e.g. svn, git...), for repository browsing (must be available in PATH)
  16. * ImageMagick (to enable Gantt export to png images)
  17. == Installation
  18. 1. Uncompress the program archive
  19. 2. Create an empty utf8 encoded database: "redmine" for example
  20. 3. Configure the database parameters in config/database.yml
  21. for the "production" environment (default database is MySQL and ruby1.9)
  22. If you're running Redmine with MySQL and ruby1.8, replace the adapter name
  23. with `mysql`
  24. 4. Install the required gems by running:
  25. bundle install --without development test
  26. If ImageMagick is not installed on your system, you should skip the installation
  27. of the rmagick gem using:
  28. bundle install --without development test rmagick
  29. Only the gems that are needed by the adapters you've specified in your database
  30. configuration file are actually installed (eg. if your config/database.yml
  31. uses the 'mysql2' adapter, then only the mysql2 gem will be installed). Don't
  32. forget to re-run `bundle install` when you change config/database.yml for using
  33. other database adapters.
  34. If you need to load some gems that are not required by Redmine core (eg. fcgi),
  35. you can create a file named Gemfile.local at the root of your redmine directory.
  36. It will be loaded automatically when running `bundle install`.
  37. 5. Generate a session store secret
  38. Redmine stores session data in cookies by default, which requires
  39. a secret to be generated. Under the application main directory run:
  40. rake generate_secret_token
  41. 6. Create the database structure
  42. Under the application main directory run:
  43. rake db:migrate RAILS_ENV="production"
  44. It will create all the tables and an administrator account.
  45. 7. Setting up permissions (Windows users have to skip this section)
  46. The user who runs Redmine must have write permission on the following
  47. subdirectories: files, log, tmp & public/plugin_assets.
  48. Assuming you run Redmine with a user named "redmine":
  49. sudo chown -R redmine:redmine files log tmp public/plugin_assets
  50. sudo chmod -R 755 files log tmp public/plugin_assets
  51. 8. Test the installation by running the WEBrick web server
  52. Under the main application directory run:
  53. ruby script/rails server -e production
  54. Once WEBrick has started, point your browser to http://localhost:3000/
  55. You should now see the application welcome page.
  56. 9. Use the default administrator account to log in:
  57. login: admin
  58. password: admin
  59. Go to "Administration" to load the default configuration data (roles,
  60. trackers, statuses, workflow) and to adjust the application settings
  61. == SMTP server Configuration
  62. Copy config/configuration.yml.example to config/configuration.yml and
  63. edit this file to adjust your SMTP settings.
  64. Do not forget to restart the application after any change to this file.
  65. Please do not enter your SMTP settings in environment.rb.
  66. == References
  67. * http://www.redmine.org/wiki/redmine/RedmineInstall
  68. * http://www.redmine.org/wiki/redmine/EmailConfiguration
  69. * http://www.redmine.org/wiki/redmine/RedmineSettings
  70. * http://www.redmine.org/wiki/redmine/RedmineRepositories
  71. * http://www.redmine.org/wiki/redmine/RedmineReceivingEmails
  72. * http://www.redmine.org/wiki/redmine/RedmineReminderEmails
  73. * http://www.redmine.org/wiki/redmine/RedmineLDAP