This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
stream-demo/Makefile
2020-07-22 10:28:10 +01:00

24 lines
539 B
Makefile

default: init
app-install: copy-required-files
docker-compose run --rm php vendor/bin/drush site:install -y \
--existing-config \
--site-name="Stream Demo" \
--account-pass=admin123
copy-required-files: vendor
cp .env.example .env
cp .docker.env.example .docker.env
init: copy-required-files start app-install
start: copy-required-files
docker-compose up -d
stop:
docker-compose down --remove-orphans
vendor: composer.json composer.lock
docker-compose run --rm composer validate
docker-compose run --rm composer install