Implementation a microservice architecture with JSON-RPC 2.0 communication between backend and frontend https://www.jsonrpc.org/specification
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

33 lines
618 B

MAKEFLAGS += --silent
ENV_FILE=devops/docker/.env
include $(ENV_FILE)
export $(shell sed 's/=.*//' $(ENV_FILE))
.PHONY: *
DOCKER_COMPOSE=docker-compose
# Installation
install: stop
./devops/scripts/install.sh
init: start
./devops/scripts/init.sh
clean:
$(DOCKER_COMPOSE) down --rmi local -v
# Serving
start: install
$(DOCKER_COMPOSE) up -d
stop:
$(DOCKER_COMPOSE) down
enter-php:
$(DOCKER_COMPOSE) exec php bash
prepare-request:
$(DOCKER_COMPOSE) exec -T php bash -c "composer run prepare-request"
data-recreate:
$(DOCKER_COMPOSE) exec -T php bash -c "composer run data-recreate"
.DEFAULT_GOAL := init