The question is what steps are needed to deploy and test new code for a plugin that is being developed on a production instance host (not a development instance one).
I already got the first step is to build the wheel on any development host, with command
$ python ./bin/maintenance/build-wheel.py plugin ../indico-plugins/<my_plugin> --add-version-suffix
And then scp the generated wheel file to the destination server, and pip install it.
Quick question: does the wheel file need to be copied to any particular directory? Or that does not matter? I guess it does not, but just in case.
Second question is: the pip install command is ran as root, or indico user?
After that, is there any extra step needed? For a development host, I know you have to manually add the new plugin to indico.conf file. Is that still needed? Similar question with adding the plugin to the internal DB with command
indico db --all-plugins upgrade
Is that also needed?
Thanks a lot.