From 4a42a4465c8ff5496229f8883b9d1532bf7c9cab Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sun, 7 Apr 2024 09:53:04 +0300 Subject: Feat: db connection and migrations --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c4102c..450ff6c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ .PHONY: all init deps install test lint run stop run: - # templ generate go build ./apjournal start @@ -33,4 +32,4 @@ stop-container: docker rm -f apjournal 2>/dev/null && echo "old container removed" run-container: stop-container - docker run --name=apjournal -v $(CURDIR)/store.json:/root/store.json -p 0.0.0.0:8087:8087 -d apjournal:master + docker run --name=apjournal -v $(CURDIR)/store.json:/root/store.json -p 0.0.0.0:9000:9000 -d apjournal:master -- cgit v1.2.3