Skip to content

Helper scripts for developing OTRS modules

Notifications You must be signed in to change notification settings

tipue-dev/module-tools

This branch is up to date with OTRS/module-tools:master.

Repository files navigation

OTRS Module Tools

This package contains convenient command line tools for OTRS development.

Installation

To install the required Perl modules, you can use:

cd /path/to/module-tools
cpanm --installdeps .

Then please copy the default configuration and change it with your data:

cd /path/to/module-tools
cp  ./etc/config.pl.dist ./etc/config.pl
vim ./etc/config.pl

Developer operation

Developers can use the tools by invoking console command under OTRS user:

# Get command overview
sudo -u otrs /path/to/module-tools/bin/otrs.ModuleTools.pl

# Install test instance of OTRS
sudo -u otrs /path/to/module-tools/bin/otrs.ModuleTools.pl TestSystem::Instance::Setup --framework-directory /path/to/otrs --fred-directory /path/to/Fred

On some systems it may be required to run instance setup as root user:

# Install test intance of OTRS as root
sudo /path/to/module-tools/bin/otrs.ModuleTools.pl TestSystem::Instance::Setup --allow-root --framework-directory /path/to/otrs --fred-directory /path/to/Fred

About

Helper scripts for developing OTRS modules

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%