Skip to content

Easter-eggs/RT-doc

Repository files navigation

Request Tracker (unofficial) developer doc

The aim of this repo is to make a clean and efficient documentation for developping around Request Tracker v4.

Official documentation sources are:

  • RT website (the "Developer Documentation" section is actually the API for scriping and extentions)
  • RT Wiki

Official user documentation is very clear and complete; and wiki is a good source but there is no quick beginner dev documentation. This is the aim of this project: help for the first steps of getting into RT.

Getting ready

First of all, you'll have to install RT. The Development installation guide in the wiki is a good starting point.

RT_SiteConfig.pm

  • etc/RT_SiteConfig.pm is the config file for RT (the one you want to edit)
  • etc/RT_Config.pm containts all the possible keys for this file with doc

The first conf to add to this file is:

# avoid "Possible cross-site request forgery" alerts in every post request
Set(@ReferrerWhitelist, qw(127.0.0.1:8080));

# Disable cache
Set($DevelMode, 1);

# Set logging to console and logging level to debug (so it will log debug, warning, ...)
Set($LogToFile, undef);
Set($LogToSysLog, undef);
Set($LogToSTDERR, 'debug');

More details of RT_Config.pm file can be found on the wiki

More infos about debugging can be found in debugging.md

Run RT

sbin/rt-server --port 8080

Disable email sending

When debugging, we sometimes want to disable email sending to have a more clear log. There is a usefull trick on wiki for that.

Reading this doc

We advise you to read this doc in this order:

About

Request Tracker developer doc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published