-
Notifications
You must be signed in to change notification settings - Fork 60
How to get started
Don Richards edited this page Feb 27, 2023
·
5 revisions
- Create a custom.Makefile
- Create a fork of https://github.com/Islandora-Devops/islandora-starter-site
- Copy the starter-dev function to this file and rename it. Also point the codebase repo to your fork.
.PHONY: universityname_up
## Awesome University build command
universityname_up: QUOTED_CURDIR = "$(CURDIR)"
universityname_up: generate-secrets
$(MAKE) starter-init ENVIRONMENT=starter_dev
if [ -z "$$(ls -A $(QUOTED_CURDIR)/codebase)" ]; then \
docker container run --rm -v $(CURDIR)/codebase:/home/root $(REPOSITORY)/nginx:$(TAG) with-contenv bash -lc 'git clone -b main https://github.com/Awesome-University/islandora-starter-site /home/root;'; \
fi
$(MAKE) set-files-owner SRC=$(CURDIR)/codebase ENVIRONMENT=starter_dev
docker-compose up -d --remove-orphans
docker-compose exec -T drupal with-contenv bash -lc 'composer install'
$(MAKE) starter-finalize ENVIRONMENT=starter_dev
- ....