-
Notifications
You must be signed in to change notification settings - Fork 370
Plug ins
Plug-ins are a lightweight means of prototyping functionality or accessing data installed in Serpico.
The officially supported plug-ins are in the SerpicoPlugins project. The wiki for this project has up to date documentation.
If you have installed Serpico via GitHub then the easiest way to install plug-ins is to
- Clone the SerpicoPlugins project from the Serpico root directory
Plug-ins must be installed in a directory called 'plugins' in the root directory. [from the root directory of Serpico, e.g. /home/egon/Serpico/]
git clone https://github.com/SerpicoProject/SerpicoPlugins.git plugins
- Enable the plugins you want in
https://IP:8443/admin/admin_plugins
If you downloaded and installed Serpico from the releases tab, you can install a zipped version of the plugin.
- Enable an admin user the plug-in permission
By default no user has the ability to upload a zip file containing the plug-in. Because this permission is so powerful it requires an administrator account and the permission must be enabled from the CLI.
ruby scripts/give_plugin_access.rb administrator_username
- Create a zip file containing the plug-in
A zip file must contain a single plug-in. For example, to zip up the "ExtraFindings" plugin and install you would:
git clone https://github.com/SerpicoProject/SerpicoPlugins.git
cd SerpicoProject/ExtraFindings
zip -r extra.zip *
- Upload the plug-in
Go to https://IP:8443/admin/admin_plugins. You should see the upload zip file at the bottom of the page like shown below.