Requirements (Aliases, Scripts)
Currently, the commands for the package development are not included into zammad. So you will have to find your own way how to build the package. In this tutorial, we will set up a package with some custom commands.
As I already mentioned, there is no toolchain yet in zammad to build your packages.
So we will have some small helper scripts and git aliases which will make our life easy (My home directory is /home/ubuntu-rs
):
Note: Make sure that your package directory always has this format: Vendor-FeatureTestBla (vendor + dash + feature name all in camelcase).
Aliases
To setup the GIT Aliases which are needed for the tutorial, check out the setup instructions in my repository:
You should also set this ENV variable in your ~/.bashrc
:
export DEVELOPMENT_FILE_WATCHER="file_update_checker"
It will improve the detection of modified files in rails and make your custom development easier in development mode.
Note: All these helper scripts are very bad and simple and might update and extend over time. We will grow them with future tutorials and make them more stable for this tutorial. I just made them barely work, so we have a starting point to learn. I just moved them to GitHub. We will improve them over time with new tutorials and make them better. Feel free to help.