Using development version of nextcloud on production

Hi all,

for a client I needed to create bunch of modification to oficial nextcloud in version 30. Some of the modifications were possible only using javascript and modifiing php files, however some of them really requires to modify .Vue source files of the frontend. The option to create new nextcloud app for those features is unfortunately not possible in this case, because it really needs to modify existing base apps of nextcloud.

So best option would be to use the nextcloud development version (GitHub - juliusknorr/nextcloud-docker-dev: Nextcloud development environment using docker-compose) for production as well, so we could have a repository with possibility to develop nicely and modify also those .Vue source files and pipeline to deploy on production.

Is there any nice way how to create this setup? Do you have experience with something like this and are you willing to help me a little bit? Or is there any tutorial for this?

I would be really greateful for any help and also possibly interested and willing to write some documentation with examples later for this possible setup (modifiiing the docker-dev env to prod env) to help nextcloud community and developers develop more easily.

Thanks for all you opinions and support

Jan

The docker is really helpful to have a development environment. But this is more intended (to my opinion) to switch between dev environments (eg changing NC version or changing apps). In your case, you strongly need a dev environment wich is very close from your client configuration. In that case, your client will (stronlgy recommended) to have a pre-production, has each Nextcloud upgrade will need to be tested with its patches.

Depending on the means of your client, this pre-production could be the dev environment too, or not.
The dev environment will need to be based on github sources. You will need to have github clones from “nextcloud/server”, but probably also from some main apps. You will also need to juglle with git (git merge) to follow nextcloud branches and upgrades. Then, you could build the Nextcloud from the dev environment. No special need to be in docker environment. Installing a Nextcloud on a LAMP environment is very easy.