Skip to content

SC4S Custom Local plugin development

Ryan Faircloth edited this page Oct 7, 2019 · 1 revision

In some cases custom or additional plugs or filters may be required that are unique to a site or unable to be shared for $reasons. SC4S allows for the development of additional configuration which can be loaded into the SC4S Container at startup without rebuilding.

Development

Follow the development guidance in this wiki with the following exceptions, note the following practice does not allow for versioning of configuration the user/admin is responsible for collection and safe archival of artifacts

  • place all files under the appropriate locations package/etc/conf.d/local on the development workstation
  • name tests using the format "tests/test_plugin_*.py"

Deployment

  • deploy the contents of package/etc/conf.d/local to /opt/sc4s/default/plugins and restart the sc4s service
Clone this wiki locally