daddy/Makefile

23 lines
450 B
Makefile
Raw Normal View History

2020-06-15 14:58:59 +02:00
build:
docker-compose build
2020-06-15 18:10:06 +02:00
deps:
cd frontend && npm install
2020-06-15 14:58:59 +02:00
up: build
( cd frontend && NODE_ENV=development npm run server ) & USER_ID=$(shell id -u) docker-compose up && wait
2020-06-15 14:58:59 +02:00
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