From 41cd0d2e69221cf77dfa9ecf2d02904c3acbfc63 Mon Sep 17 00:00:00 2001 From: Jan Sorgalla Date: Tue, 20 Feb 2024 23:17:42 +0100 Subject: [PATCH] Add instructions and script to install dependencies --- README.md | 6 ++++++ docker/run-php.sh | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 docker/run-php.sh diff --git a/README.md b/README.md index b809f786..2f1b35d6 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,12 @@ First, build the PHP container. This must be done only once. ./docker/build-php.sh ``` +Install dependencies via Composer. + +```bash +./docker/run-php.sh composer install +``` + Next, start the database containers. ```bash diff --git a/docker/run-php.sh b/docker/run-php.sh new file mode 100755 index 00000000..1e4979ee --- /dev/null +++ b/docker/run-php.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +docker run -it --rm -v "${PWD}":/app doctrine-postgis-php "$@"