Chris@0: == Redmine installation Chris@0: Chris@0: Redmine - project management software Chris@441: Copyright (C) 2006-2011 Jean-Philippe Lang Chris@0: http://www.redmine.org/ Chris@0: Chris@0: Chris@0: == Requirements Chris@0: Chris@0: * Ruby 1.8.6 or 1.8.7 Chris@0: Chris@441: * RubyGems 1.3.7 Chris@119: Chris@909: * Ruby on Rails 2.3.14 (official downloadable Redmine releases are packaged with Chris@0: the appropriate Rails version) Chris@0: Chris@909: * Rack 1.1.2 gem Chris@0: Chris@909: * Rake 0.9.2 gem Chris@0: Chris@119: * I18n 0.4.2 gem Chris@0: Chris@0: * A database: Chris@441: * MySQL (tested with MySQL 5.1) Chris@441: * PostgreSQL (tested with PostgreSQL 8.4) Chris@441: * SQLite3 (tested with SQLite 3.6) Chris@0: Chris@0: Optional: Chris@0: * SCM binaries (e.g. svn), for repository browsing (must be available in PATH) Chris@0: * RMagick (to enable Gantt export to png images) Chris@0: * Ruby OpenID Library >= version 2 (to enable OpenID support) Chris@0: Chris@0: == Installation Chris@0: Chris@0: 1. Uncompress the program archive Chris@0: Chris@0: 2. Create an empty database: "redmine" for example Chris@0: Chris@0: 3. Configure the database parameters in config/database.yml Chris@0: for the "production" environment (default database is MySQL) Chris@0: Chris@0: 4. Generate a session store secret Chris@0: Chris@0: Redmine stores session data in cookies by default, which requires Chris@0: a secret to be generated. Under the application main directory run: Chris@0: rake generate_session_store Chris@0: Chris@0: 5. Create the database structure Chris@0: Chris@0: Under the application main directory run: Chris@0: rake db:migrate RAILS_ENV="production" Chris@0: Chris@0: It will create all the tables and an administrator account. Chris@0: Chris@0: 6. Setting up permissions (Windows users have to skip this section) Chris@0: Chris@0: The user who runs Redmine must have write permission on the following Chris@0: subdirectories: files, log, tmp & public/plugin_assets (create the last Chris@0: two if they are not yet present). Chris@0: Chris@0: Assuming you run Redmine with a user named "redmine": Chris@0: mkdir tmp public/plugin_assets Chris@0: sudo chown -R redmine:redmine files log tmp public/plugin_assets Chris@0: sudo chmod -R 755 files log tmp public/plugin_assets Chris@0: Chris@0: 7. Test the installation by running the WEBrick web server Chris@0: Chris@0: Under the main application directory run: Chris@0: ruby script/server -e production Chris@0: Chris@0: Once WEBrick has started, point your browser to http://localhost:3000/ Chris@0: You should now see the application welcome page. Chris@0: Chris@0: 8. Use the default administrator account to log in: Chris@0: login: admin Chris@0: password: admin Chris@0: Chris@0: Go to "Administration" to load the default configuration data (roles, Chris@0: trackers, statuses, workflow) and to adjust the application settings Chris@0: Chris@0: == SMTP server Configuration Chris@0: Chris@210: Copy config/configuration.yml.example to config/configuration.yml and Chris@210: edit this file to adjust your SMTP settings. Chris@0: Do not forget to restart the application after any change to this file. Chris@0: Chris@0: Please do not enter your SMTP settings in environment.rb. Chris@0: Chris@0: == References Chris@0: Chris@0: * http://www.redmine.org/wiki/redmine/RedmineInstall Chris@0: * http://www.redmine.org/wiki/redmine/EmailConfiguration Chris@0: * http://www.redmine.org/wiki/redmine/RedmineSettings Chris@0: * http://www.redmine.org/wiki/redmine/RedmineRepositories Chris@0: * http://www.redmine.org/wiki/redmine/RedmineReceivingEmails Chris@0: * http://www.redmine.org/wiki/redmine/RedmineReminderEmails Chris@0: * http://www.redmine.org/wiki/redmine/RedmineLDAP