Skip to content

Commit

Permalink
Add psql-shell task to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
metasoarous authored and ballPointPenguin committed Nov 23, 2024
1 parent 0a1f193 commit d010378
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit d010378

Please sign in to comment.