Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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