From 2de73e45a9d762581e188b5325d86aca499e3f90 Mon Sep 17 00:00:00 2001 From: schrotie Date: Wed, 28 Apr 2021 12:03:38 +0200 Subject: [PATCH] Update tutorial with dev-setup alternative Added a much simpler and less intrusive alternative development setup using podman or docker. --- developer_manual/app_development/tutorial.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/developer_manual/app_development/tutorial.rst b/developer_manual/app_development/tutorial.rst index f6d40c5c0..5d6a21d0b 100644 --- a/developer_manual/app_development/tutorial.rst +++ b/developer_manual/app_development/tutorial.rst @@ -33,6 +33,12 @@ Now open another terminal window and start the development server:: cd nextcloud php -S localhost:8080 +*Alternative Setup*: +Launch with podman (leaner than docker and allows you to run containers without being root): + podman run --name=nextcloud --replace=true -p 8080:80 -v /YOUR_FULL_PATH/apps:/var/www/html/custom_apps docker.io/nextcloud +Launch with docker (not tested): + sudo docker run --name=nextcloud --replace=true -p 8080:80 -v /YOUR_FULL_PATH/apps:/var/www/html/custom_apps nextcloud + Afterwards a skeleton app can be created in the `app store `_. Download the compressed file that contains the generated app and extract it into your ``apps/`` directory. Afterwards the application can be enabled on the `apps page `_.