Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your project .env file. The default is to use Docker for local development.
#

USE_DOCKER ?= 1
USE_DOCKER ?= 0

#
# Ensure the local environment has the right binaries installed.
Expand All @@ -28,7 +28,7 @@ default: install start build
# Bring in the external project dependencies.
#

install: .env
install:
ifeq ("${USE_DOCKER}","1")
docker run --rm --interactive --tty --volume $(PWD):/var/www/html:delegated wodby/drupal-php:7.3-dev /bin/bash -c "composer global require hirak/prestissimo; composer install"
else
Expand Down Expand Up @@ -109,9 +109,6 @@ clean: stop
# Generate project symlinks and other disposable assets and wiring.
#

.env:
cp .env.example .env

public-file-store:
ifeq ("${USE_DOCKER}","1")
@test -d docroot/sites/default/files && rm -rf docroot/sites/default/files ||:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ git add .
git commit -m "Created the project."
```

### Create .env file

You should copy the `.env.example` file to `.env` and update for your project.

```
cp .env.example .env
```

### Required configuration

You should configure the project for your needs now. The following amendments need to be made at a minimum:
Expand Down