Preparing plug-ins for deployment

Preparing a plug-in for deployment requires copying contents of the workspace catalog and installing requests in the site-packages folder.

mkdir /tmp/workdir-redmine
cp -a core/usr.local.share/plugins/ex02-redmine/* /tmp/workdir-redmine
cd /tmp/workdir-redmine
pip3 install -t site-packages requests
zip /tmp/ex02-redmine.zip -9r *

Related topics: