Changes

Jump to navigation Jump to search
95 bytes added ,  07:28, 24 October 2008
Line 24: Line 24:  
   svn checkout http://redmine.rubyforge.org/svn/trunk redmine
 
   svn checkout http://redmine.rubyforge.org/svn/trunk redmine
   −
== Create the Redmine database ==
+
=== Create the Redmine database ===
 
Again the installation instructions are on http://www.redmine.org/wiki/redmine/RedmineInstall. I found it easiest to create the database using PHPMyAdmin. The database is a called 'redmine' with an appropriate password and accessible by the user you created above.
 
Again the installation instructions are on http://www.redmine.org/wiki/redmine/RedmineInstall. I found it easiest to create the database using PHPMyAdmin. The database is a called 'redmine' with an appropriate password and accessible by the user you created above.
   −
== Connecting Redmine to the database ==
+
=== Connecting Redmine to the database ===
 
To setup Redmine to use the database you just created, goto:
 
To setup Redmine to use the database you just created, goto:
   Line 38: Line 38:  
and edit new database.yml file to list your database name, username and database password.  
 
and edit new database.yml file to list your database name, username and database password.  
   −
== Create the database structure ==
+
=== Create the database structure ===
 
Setup the database as per the installation instructions as:
 
Setup the database as per the installation instructions as:
   Line 44: Line 44:  
  rake redmine:load_default_data RAILS_ENV="production"
 
  rake redmine:load_default_data RAILS_ENV="production"
   −
== Start the server ==
+
=== Start the server ===
 
You can now test start your server with the command:
 
You can now test start your server with the command:
   Line 53: Line 53:  
   http://yourservername:3000/
 
   http://yourservername:3000/
   −
== Accessing Redmine through your main webserver ==
+
=== Accessing Redmine through your main webserver ===
    
To access Redmine through the main webserver, I created the following custom template in
 
To access Redmine through the main webserver, I created the following custom template in
Line 74: Line 74:  
</pre>
 
</pre>
   −
Expand the template and restart the http server.
+
Expand the template and restart the http server:
 +
 
 +
expand-template /etc/httpd/conf/httpd.conf
 +
/etc/rc.d/init.d/httpd-e-smith restart
    
Now Redmine can be accessed through http://servername/redmine
 
Now Redmine can be accessed through http://servername/redmine
Line 92: Line 95:  
Note that the port number used for the Redmine proxy above (2555) is configured in the start/stop script below.
 
Note that the port number used for the Redmine proxy above (2555) is configured in the start/stop script below.
   −
== Starting and stopping the Redmine server ==
+
=== Starting and stopping the Redmine server ===
    
In /etc/init.d, create the following script 'redmine':
 
In /etc/init.d, create the following script 'redmine':
Line 167: Line 170:  
The biggest trouble in that process was getting hold of the right sqlite-ruby library for the migration script to access the Trac database (unfortunately I don't remember how I fixed that).
 
The biggest trouble in that process was getting hold of the right sqlite-ruby library for the migration script to access the Trac database (unfortunately I don't remember how I fixed that).
   −
=== Additional information ===
+
== Additional information ==
    
More information about Redmine can be found on http://www.redmine.org
 
More information about Redmine can be found on http://www.redmine.org
374

edits

Navigation menu