##// END OF EJS Templates
updated INSTALL doc with rake db:migrate instead of the deprecated rake migrate...
Jean-Philippe Lang -
r373:6f1dcdc08f40
parent child
Show More
@@ -1,72 +1,72
1 1 == redMine installation
2 2
3 3 redMine - project management software
4 4 Copyright (C) 2006-2007 Jean-Philippe Lang
5 5 http://redmine.rubyforge.org/
6 6
7 7
8 8 == Requirements
9 9
10 10 * Ruby on Rails 1.2.2
11 11 * Iconv
12 12 * A database (see compatibility below)
13 13
14 14 Optional:
15 15 * RedCloth (to enable textile formatting)
16 16 * SVN binaries (needed for repository browsing, must be available in PATH)
17 17
18 18 Supported databases:
19 19 * MySQL (tested with MySQL 5)
20 20 * PostgreSQL (tested with PostgreSQL 8.1)
21 21 * Oracle (tested with Oracle 10g)
22 22 * SQL Server (tested with SQL Server 2005)
23 23 * SQLite (tested with SQLite 3)
24 24
25 25
26 26 == Installation
27 27
28 28 1. Uncompress program archive:
29 29 tar zxvf <filename>
30 30
31 31 2. Create an empty database: "redmine" for example
32 32
33 33 3. Configure database parameters in config/database.yml
34 34 for "production" environment (default database is MySQL)
35 35
36 36 4. Create the database structure. Under the application main directory:
37 rake migrate RAILS_ENV="production"
37 rake db:migrate RAILS_ENV="production"
38 38 It will create tables and an administrator account.
39 39
40 40 5. Insert default configuration data in database:
41 41 rake load_default_data RAILS_ENV="production"
42 42 It will load default roles, trackers, statuses, workflows and enumerations.
43 43 This step is optional (but recommended), as you can define your
44 44 own configuration from sratch.
45 45
46 46 6. Test the installation by running WEBrick web server:
47 47 ruby script/server -e production
48 48
49 49 Once WEBrick has started, point your browser to http://localhost:3000/
50 50 You should now see the application welcome page
51 51
52 52 7. Use default administrator account to log in:
53 53 login: admin
54 54 password: admin
55 55
56 56 8. You can go to "Admin -> Settings" to modify application settings.
57 57
58 58 9. Setup Apache or Lighttpd with fastcgi for best performance.
59 59
60 60
61 61 == SMTP server Configuration
62 62
63 63 In config/environment.rb, you can set parameters for your SMTP server:
64 64 config.action_mailer.smtp_settings: SMTP server configuration
65 65 config.action_mailer.perform_deliveries: set to false to disable mail delivering
66 66
67 67 Don't forget to restart the application after any change.
68 68
69 69
70 70 == Upgrading
71 71
72 72 See UPGRADING
General Comments 0
You need to be logged in to leave comments. Login now