I’d like to set up a test environment for webapp, as I would like to make a minor change to the client side code and submit a pull request.
What is the simplest way to set up a test environment? Is there any documentation wrt this?
Hi @linnea-s ,
as far as I know it should be as simple as checking out the git repository. if you are not yet running WebApp on the system you can find the required packages in https://stash.kopano.io/projects/KW/repos/kopano-webapp/browse/README.md.
The git repository also has instructions on how you can contribute patches.
Hope it helps. Let me know if you need additional information.
Hi Felix, thanks for your reply.
I think I figured it out. In case it helps somebody:
It’s necessary to rename config.php.dist to config.php, and debug.php.dist to debug.php, both in the top level of the source directory. Renaming debug.php ensures that webapp is run in “source mode” where the source code is loaded directly from the source directory, with no build steps (and no ant/java packages) necessary.
I made a simple Docker image based on Debian which I can make available if there is any interest.