From d0103785fe942ea96b798f186f44998295916ea9 Mon Sep 17 00:00:00 2001 From: Christopher Small Date: Fri, 17 Feb 2023 14:27:58 -0800 Subject: [PATCH] Add psql-shell task to makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f33a4d81..85ad036da 100644 --- a/Makefile +++ b/Makefile @@ -114,6 +114,10 @@ e2e-run-all: ## Run E2E tests: all e2e-run-interactive: ## Run E2E tests: interactively $(E2E_RUN) npx cypress open +psql-shell: ## Assuming a system is already running with `make start`, start up an interactive psql shell + docker-compose exec postgres psql --username postgres --dbname polis-dev + + # Helpful CLI shortcuts rbs: start-rebuild @@ -122,7 +126,7 @@ rbs: start-rebuild .PHONY: help pull start stop rm-containers rm-volumes rm-images rm-ALL hash build-no-cache start-rebuild \ start-recreate restart-FULL-REBUILD e2e-install e2e-run e2e-run-all e2e-run-interactive \ - build-web-assets extract-web-assets + build-web-assets extract-web-assets psql-shell help: