From 17609359e508dd6577bfc4a24a09461378f25774 Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Thu, 25 Jul 2024 14:50:15 +0200 Subject: [PATCH] Manage composer.lock and composer update (#139) --- .gitignore | 2 ++ docs/installation.rst | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.gitignore b/.gitignore index dc9f1667..5d0c9b61 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ cache/* docs/_build /vendor/ /htdocs/vendor/bootstrap/ +composer.lock +tests/.phpunit.result.cache diff --git a/docs/installation.rst b/docs/installation.rst index 23caadc4..6e344525 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -107,3 +107,19 @@ Start container, mounting that configuration file: docker run -p 80:80 \ -v /home/test/servicedesk.conf.php:/var/www/conf/config.inc.local.php \ -it docker.io/ltbproject/service-desk:latest + + +From git repository, for developpers only +----------------------------------------- + +You can get the content of git repository + +Update composer dependencies: + +.. prompt:: bash + + composer update + +Depending on your php version, this command will determine the versions of composer dependencies, and create a ``composer.lock`` file. Then it will download these dependencies and put them in vendor/ directory. + +Then you can follow the instructions from `From tarball`_, especially the prerequisites.