daddy/Makefile

20 lines
385 B
Makefile

build:
docker-compose build
deps:
cd frontend && npm install
up: build
( cd frontend && npm run server ) & USER_ID=$(shell id -u) docker-compose up && wait
sg:
docker-compose exec -u $(shell id -u) super-graph sh
sgr:
docker-compose run -u $(shell id -u) super-graph sh
down:
docker-compose down -v --remove-orphans
db-shell:
docker-compose exec postgres psql -Usupergraph