daddy/Makefile

23 lines
450 B
Makefile

build:
docker-compose build
deps:
cd frontend && npm install
up: build
( cd frontend && NODE_ENV=development 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 -Udaddy
hydra-shell:
docker-compose exec hydra /bin/sh