From ee095b225db1a03fa7497ba05f782949600d0da8 Mon Sep 17 00:00:00 2001 From: henmohr Date: Fri, 13 Feb 2026 15:34:08 -0300 Subject: [PATCH 1/3] Add host update steps to developer manual --- .../development-environment/updating.rst | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/developer_manual/getting-started/development-environment/updating.rst b/developer_manual/getting-started/development-environment/updating.rst index 6819cd5..1318217 100644 --- a/developer_manual/getting-started/development-environment/updating.rst +++ b/developer_manual/getting-started/development-environment/updating.rst @@ -41,3 +41,53 @@ Updating LibreSign git pull upstream main - Then create your feature or fix branch from the updated ``main``. + +LibreSign - Host installation update +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Use this flow when LibreSign is installed directly on the host in custom apps. + +Go to the custom apps folder +++++++++++++++++++++++++++++ + +.. code-block:: bash + + cd /path/to/custom_apps + +Switch to the target version branch ++++++++++++++++++++++++++++++++++++ + +.. code-block:: bash + + git clone https://github.com/LibreSign/libresign.git + cd libresign + git submodule update --init --recursive + + chown -R www-data: . + git fetch origin stable32 + git checkout stable32 + +Composer +++++++++ + +.. code-block:: bash + + docker run -it -v $PWD:/app --workdir /app composer composer install --no-dev --ignore-platform-req=ext-gd --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-intl + +npm ++++ + +- Install dependencies defined in ``package.json``: + +.. code-block:: bash + + docker run -it -v $PWD:/app --workdir /app node npm ci + docker run -it -v $PWD:/app --workdir /app node npm run build + +Update the app in Nextcloud ++++++++++++++++++++++++++++ + +.. code-block:: bash + + occ app:enable libresign + occ libresign:install --all From edff6c6f42755e2f1676d4f18407e489cc28108a Mon Sep 17 00:00:00 2001 From: henmohr Date: Fri, 13 Feb 2026 15:39:00 -0300 Subject: [PATCH 2/3] Fix code-block indentation in update guide --- .../getting-started/development-environment/updating.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/getting-started/development-environment/updating.rst b/developer_manual/getting-started/development-environment/updating.rst index 1318217..deb2c4c 100644 --- a/developer_manual/getting-started/development-environment/updating.rst +++ b/developer_manual/getting-started/development-environment/updating.rst @@ -79,10 +79,10 @@ npm - Install dependencies defined in ``package.json``: -.. code-block:: bash + .. code-block:: bash - docker run -it -v $PWD:/app --workdir /app node npm ci - docker run -it -v $PWD:/app --workdir /app node npm run build + docker run -it -v $PWD:/app --workdir /app node npm ci + docker run -it -v $PWD:/app --workdir /app node npm run build Update the app in Nextcloud +++++++++++++++++++++++++++ From fd562aec6fc767df8b0903f7b223ccec462b9ce0 Mon Sep 17 00:00:00 2001 From: henmohr Date: Fri, 13 Feb 2026 15:44:01 -0300 Subject: [PATCH 3/3] Adjust code-block indentation in update guide --- .../development-environment/updating.rst | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/developer_manual/getting-started/development-environment/updating.rst b/developer_manual/getting-started/development-environment/updating.rst index deb2c4c..67391b7 100644 --- a/developer_manual/getting-started/development-environment/updating.rst +++ b/developer_manual/getting-started/development-environment/updating.rst @@ -50,36 +50,36 @@ Use this flow when LibreSign is installed directly on the host in custom apps. Go to the custom apps folder ++++++++++++++++++++++++++++ -.. code-block:: bash + .. code-block:: bash - cd /path/to/custom_apps + cd /path/to/custom_apps Switch to the target version branch +++++++++++++++++++++++++++++++++++ -.. code-block:: bash + .. code-block:: bash - git clone https://github.com/LibreSign/libresign.git - cd libresign - git submodule update --init --recursive + git clone https://github.com/LibreSign/libresign.git + cd libresign + git submodule update --init --recursive - chown -R www-data: . - git fetch origin stable32 - git checkout stable32 + chown -R www-data: . + git fetch origin stable32 + git checkout stable32 Composer ++++++++ -.. code-block:: bash + .. code-block:: bash - docker run -it -v $PWD:/app --workdir /app composer composer install --no-dev --ignore-platform-req=ext-gd --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-intl + docker run -it -v $PWD:/app --workdir /app composer composer install --no-dev --ignore-platform-req=ext-gd --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-intl npm +++ - Install dependencies defined in ``package.json``: - .. code-block:: bash + .. code-block:: bash docker run -it -v $PWD:/app --workdir /app node npm ci docker run -it -v $PWD:/app --workdir /app node npm run build @@ -87,7 +87,7 @@ npm Update the app in Nextcloud +++++++++++++++++++++++++++ -.. code-block:: bash + .. code-block:: bash - occ app:enable libresign - occ libresign:install --all + occ app:enable libresign + occ libresign:install --all