bschmalhofer / module-tools

Helper scripts for developing OTRS modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Perl 100.0%