To facilitate the writing of OTOBO expansion modules, the creation of a development environment is necessary. The source code of OTOBO and additional public modules can be found on GitHub.
Obtain the Source Code¶
First of all a directory must be created in which the modules can be stored. Then switch to the new directory using the command line and clone the Git repository by using the following command:
shell> git clone email@example.com:RotherOSS/otobo.git -b master
For a specific branch like OTOBO 6:
shell> git clone firstname.lastname@example.org:RotherOSS/otobo.git -b rel-6_0
Please configure the OTOBO system according to the installation instructions.
Clone the module-tools module too, for your development environment. It contains a number of useful tools:
shell> git clone email@example.com:OTOBO/module-tools.git
OTOBOCodePolicy is a code quality checker that enforces the use of common coding standards also for the OTOBO development team. It is highly recommended to use it if you plan to make contributions. You can use it as a standalone test script or even register it as a git commit hook that runs every time that you create a commit. Please see the module documentation for details.
shell> git clone firstname.lastname@example.org:RotherOSS/CodePolicy.git