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-18 09:34:22 +02:00
|
|
|
( 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:
|
2020-06-18 09:34:22 +02:00
|
|
|
docker-compose exec postgres psql -Usupergraph
|
|
|
|
|
|
|
|
hydra-shell:
|
|
|
|
docker-compose exec hydra /bin/sh
|