Installation¶
The plugin can be installed using standard Python package managers. To enable the plugin, it must be added to the configuration file of indico.
See also
The official Indico Plugin Installation Guide.
Note that at least indico
2.0 is required, and will be installed automatically if it is missing.
Installing the package¶
The indico_sixpay
plugin must be installed for the python version running indico
.
With a standard indico installation, you must activate the indico python virtual environment first.
su - indico
source ~/.venv/bin/activate
The latest release version is available for the default python package managers.
You can directly install the module using pip
:
pip install indico_sixpay
This can also be used to upgrade to a newer version:
pip install indico_sixpay --upgrade
Enabling the package¶
All plugins must be enabled in indico’s configuration file.
By default, the configuration is located in /opt/indico/etc/indico.conf
.
PLUGINS = {'payment_sixpay'}
Note that if you need multiple plugins, you must all include them in the set of PLUGINS
:
PLUGINS = {'payment_manual', 'payment_paypal', 'payment_sixpay'}
After changing the configuration, trigger a reload of the indico services.
Issue the following commands as root
:
touch ~/web/indico.wsgi
systemctl restart indico-celery.service