I will give here my opinion about packages for WebApp like Peertube (NodeJS), Mastodon or Diaspora (NodeJS, Ruby on Rails) or PHP applications like Nextcloud or Gnu.Social…
If it makes it easy to install server software, it’s not necessarily a good idea. What happens the day the package maintainer throws in the towel because managing dependencies becomes too complicated?
What to do in case of dependency conflicts between several applications on the same server?
It happened to me recently with Mastodon on FreeBSD. Finally starting from scratch, by installing the NodeJS dependencies at the application level and not the system (as I had done for Peertube Alpha) was much more training and allowed me to understand how to install Diaspora* !
Generally what is most complicated is what concerns the system administration: configuration of the web proxy server, configuration of the database, etc… And all this cannot be done with a package manager.
Peertube’s documentation is really well done: clear, precise, concise. I think it’s enough and it doesn’t necessarily require a package.
(Translated with www.DeepL.com/Translator)