annotate .svn/pristine/d0/d04e674c0740817a528515c15ffb33465b7523c4.svn-base @ 1327:287f201c2802 redmine-2.2-integration

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