Difference between revisions of "DevelMode"
(It's "cpan" not "cspan"!)
m (4 revisions imported)
Latest revision as of 15:08, 6 April 2016
'Devel'Mode - config option that allows developers to avoid server restarts and CleanMasonCache after every change. Note that this feature slow down RT and should be disabled in production environment.
This options require additional perl modules to work properly. Easiest way to install dependencies:
shell> ./configure --with-devel-mode shell> make fixdeps
Alternative installation: Bundle::RT includes this additional modules as dependencies. Install it with cpan or cpanp shells. cpanp - CPANPLUS is not in Perl core and requires installation. If you packager has Bundle::RT (FreeBSD does not include), you can install it this way.
You can also using cpan to install dependencies (check apache/error.log for missing dependency errors):
shell>sudo cpan -i Module::Refresh
If you already have RT installed and all dependencies are met, add the following line to your RT-SiteConfig.pm file to enable Developer Mode:
This will allow you to write to rt.log throughout your Scrip Conditionals and/or Actions like so: