-
Notifications
You must be signed in to change notification settings - Fork 1
How to install a LOEP plugin
First off, we need to download the plugin. A LOEP plugin is expected to be provided as a ZIP file with a folder inside it with the same name as the plugin. For instance, the "loep_stars_private" LOEP plugin can be downloaded here.
We need to extract the ZIP file and move the extracted folder to the /loep_plugins/ folder of the LOEP application.
For a LOEP production instance, the folder should be moved to a folder named "private_plugins" placed at the shared path. Then, the plugin should be added in the private_plugins key of the corresponding deploy xml file.
We need to enable the plugin in the application_config.yml file. Basically, we need to add the name of the plugin to the plugins key.
If we want new evaluation models or metrics provided by the plugin to be enabled, we need to enable them in the application_config.yml file as well.
In order to install the plugin we should execute the following command:
bundle exec rake db:populate:install_plugins
Finally, we need to reload the web server to start working with the new plugin.