Skip to content

Commit

Permalink
Add instructions and script to install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Feb 20, 2024
1 parent 6b319a5 commit 41cd0d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions docker/run-php.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e

docker run -it --rm -v "${PWD}":/app doctrine-postgis-php "$@"

0 comments on commit 41cd0d2

Please sign in to comment.