Changes

Jump to navigation Jump to search
599 bytes added ,  07:28, 24 October 2008
Line 1: Line 1: −
Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database.  
+
[http://www.redmine.org Redmine] is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database.  
   −
This is a Howto of how I went about getting a basic installation of Redmine going on my SME server. I have now been using it for a number of months and am quite happy with it. As a matter of fact, I converted my existing Trac project environments to Redmine and have been using Redmine exclusively since.  
+
This is a Howto of how I went about getting a basic installation of [http://www.redmine.org Redmine] going on my SME server. I have now been using it for a number of months and am quite happy with it. As a matter of fact, I converted my existing Trac project environments to [http://www.redmine.org Redmine] and have been using [http://www.redmine.org Redmine] exclusively since.  
    
== Ruby On Rails ==
 
== Ruby On Rails ==
Line 7: Line 7:     
== Redmine User ==
 
== Redmine User ==
The Redmine webservice needs a user to operate under and it needs an ability to access email for some of its services. The easiest thing to do is to create a new user 'redmine' using your server-manager panel. This users also needs access to a login shell.
+
The [http://www.redmine.org Redmine] webservice needs a user to operate under and it needs an ability to access email for some of its services. The easiest thing to do is to create a new user 'redmine' using your server-manager panel. This users also needs access to a login shell.
    
== Redmine Installation ==
 
== Redmine Installation ==
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 160: Line 163:  
   /etc/init.d/redmine start
 
   /etc/init.d/redmine start
   −
=== Additional information ===
+
== Importing Trac into Redmine ==
 +
 
 +
I has some success in importing existing Trac environments into Redmine as per the instructions on
 +
http://www.redmine.org/wiki/redmine/RedmineMigrate.
 +
 
 +
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 ==
    
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