INSTALL
71 lines
| 2.0 KiB
| text/plain
|
TextLexer
/ doc / INSTALL
|
r2 | == redMine installation | ||
redMine - project management software | ||||
|
r138 | Copyright (C) 2006-2007 Jean-Philippe Lang | ||
http://redmine.rubyforge.org/ | ||||
|
r2 | |||
== Requirements | ||||
|
r250 | * Ruby on Rails 1.2.2 | ||
|
r138 | * A database (see compatibility below) | ||
|
r2 | |||
|
r42 | Optional: | ||
|
r140 | * RedCloth (to enable textile formatting) | ||
|
r164 | * SVN binaries (needed for repository browsing, must be available in PATH) | ||
|
r5 | |||
|
r42 | Supported databases: | ||
|
r5 | * MySQL (tested with MySQL 5) | ||
* PostgreSQL (tested with PostgreSQL 8.1) | ||||
* Oracle (tested with Oracle 10g) | ||||
* SQL Server (tested with SQL Server 2005) | ||||
* SQLite (tested with SQLite 3) | ||||
|
r42 | |||
|
r2 | == Installation | ||
1. Uncompress program archive: | ||||
tar zxvf <filename> | ||||
2. Create an empty database: "redmine" for example | ||||
3. Configure database parameters in config/database.yml | ||||
|
r5 | for "production" environment (default database is MySQL) | ||
|
r2 | |||
|
r138 | 4. Create the database structure. Under the application main directory: | ||
|
r373 | rake db:migrate RAILS_ENV="production" | ||
|
r138 | It will create tables and an administrator account. | ||
|
r2 | |||
|
r25 | 5. Insert default configuration data in database: | ||
rake load_default_data RAILS_ENV="production" | ||||
|
r138 | It will load default roles, trackers, statuses, workflows and enumerations. | ||
This step is optional (but recommended), as you can define your | ||||
own configuration from sratch. | ||||
|
r25 | |||
6. Test the installation by running WEBrick web server: | ||||
|
r2 | ruby script/server -e production | ||
Once WEBrick has started, point your browser to http://localhost:3000/ | ||||
You should now see the application welcome page | ||||
|
r25 | 7. Use default administrator account to log in: | ||
|
r2 | login: admin | ||
password: admin | ||||
|
r250 | |||
8. You can go to "Admin -> Settings" to modify application settings. | ||||
|
r2 | |||
|
r250 | 9. Setup Apache or Lighttpd with fastcgi for best performance. | ||
|
r2 | |||
|
r250 | == SMTP server Configuration | ||
|
r2 | |||
|
r140 | In config/environment.rb, you can set parameters for your SMTP server: | ||
|
r250 | config.action_mailer.smtp_settings: SMTP server configuration | ||
|
r2 | config.action_mailer.perform_deliveries: set to false to disable mail delivering | ||
|
r164 | Don't forget to restart the application after any change. | ||
|
r140 | |||
== Upgrading | ||||
See UPGRADING | ||||