Customising Squore Configuration

Squore is fully customisable and allows you to override the default models in order to add your own.

Your modifications to the default configuration should never be made directly in <SQUORE_HOME>/configuration folder. But instead in your own configuration folder, of which you will make Squore aware by editing <SQUORE_HOME>/config.xml file.

This allows you to create only the files that are needed for your modifications and minimize the amount of files to be added to version control.

In order to add a configuration folder containing your modifications:

  1. Create a folder called MyConfiguration

  2. Create two subfolders folder called configuration and addons

  3. Edit Squore Server’s <SQUORE_HOME>/config.xml to add MyConfiguration/configuration and MyConfiguration/addons as registered configuration and addons paths, as described in the Adding Addons or Configuration folder section.

  4. As a Squore administrator, log in and click Administration > Reload Configuration

Now Squore knows that it needs to load the models that exist in your custom configuration as well as the ones in the default configuration folder.

If you want to override a file in the default configuration folder, recreate the folder structure in your custom configuration folder, copy the file from the default configuration folder and make the necessary modifications.

Because the custom configuration folder is listed first in <SQUORE_HOME>/config.xml, the file in the custom configuration folder will be used instead of the file in the default configuration folder.