daddy/Makefile

20 lines
385 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
2020-06-15 18:10:06 +02:00
( cd frontend && 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 -Usupergraph