From e3d23540693d0f3f8c490f7d1b44b78b994040a0 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 17 Jan 2022 01:55:30 +0100 Subject: [PATCH] add info on private releases --- docs/extend/how_to_plugin.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/extend/how_to_plugin.md b/docs/extend/how_to_plugin.md index 3998365..0f655d5 100644 --- a/docs/extend/how_to_plugin.md +++ b/docs/extend/how_to_plugin.md @@ -40,6 +40,7 @@ from plugin.mixins import APICallMixin, SettingsMixin, ScheduleMixin, BarcodeMix ``` - deliver as a package - pip is great for dependency management and pypi can serve as a transparent and reliable delivery infrastructure +- if you need to use a private infrastructure, use the 'Releases' functions in GitHub or Gitlab. Point to the 'latest' release endpoint when installing to make sure the update function works - tag your GitHub repo with 'inventree' and 'inventreeplugins' to make discovery easier - use GitHub actions to test your plugin regularly (you can [schedule actions](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule)) against the 'latest' [docker-build]https://hub.docker.com/r/inventree/inventree of InvenTree - if you use the AppMixin pin your plugin against the stable branch of InvenTree, your migrations might get messed up otherwise