Search This Website

Loading...

Tuesday, 20 October 2009

Redmine

Redmine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database.

Installation:

  • Download and extract the archive or checkout Redmine.
  • Create an empty database and accompanying user named redmine for example.
           For MySQL:
create database redmine character set utf8;
            create user 'redmine'@'localhost' identified by 'my_password';
            grant all privileges on redmine.* to 'redmine'@'localhost';
  • Copy config/database.yml.example to config/database.yml and edit this file in order to configure your database settings for "production" environment.
          Example for a MySQL database:
production:
                      adapter: mysql
                      database: redmine
                      host: localhost
                      username: redmine
                      password: my_password
         
  • Generate a session store secret. This is only required on the trunk version of Redmine at r2493 or above. Users installing a released version of 0.8.x can skip this step.
  • Redmine stores session data in cookies by default, which requires a secret to be generated. This can be done by running:
           rake config/initializers/session_store.rb
  • Create the database structure, by running the following command under the application root directory:
           rake db:migrate RAILS_ENV="production"
        It will create tables and an administrator account.
  • Insert default configuration data in database, by running the following command:
           rake redmine:load_default_data RAILS_ENV="production"
  • This step is optional but highly recommended, as you can define your own configuration from scratch. It will load default roles, trackers, statuses, workflows and enumerations.
  • Setting up permissions
           NB: Windows users have to skip this section.
           The user who runs Redmine must have write permission on
           the following subdirectories: files, log, tmp (create the
           last one if not present).
           Assuming you run Redmine with a redmine user:
mkdir tmp public/plugin_assets
                   sudo chown -R redmine:redmine files log tmp public/plugin_assets
                   sudo chmod -R 755 files log tmp public/plugin_assets
  • Test the installation by running WEBrick web server:
           ruby script/server webrick -e production
         Once WEBrick has started, point your browser to http://localhost:3000/.
         You should now see the application welcome page.
  • Use default administrator account to log in:
    • login: admin
    • password: admin
  • You can go to Admin & Settings to modify application settings.
ENJOY! 

0 comments:

Post a Comment

Recent Comments