Add login
This commit is contained in:
2
Makefile
2
Makefile
@@ -83,7 +83,7 @@ local-launch-golang: ## Build the server and run it
|
||||
kill $$PID || true
|
||||
$(MAKE) $(BUILD_GOLANG_CMD)
|
||||
DB_PORT=`docker-compose -p $(DOCKER_IMAGE_NAME)-uuid -f containers/docker-compose.local.yml port database 5432 | cut -f2 -d':'`; \
|
||||
$(LAUNCH_GOLANG_CMD) serve --loglevel debug --logformat text --postgreshost localhost:$$DB_PORT
|
||||
$(LAUNCH_GOLANG_CMD) serve --loglevel debug --logformat text --dbconnectionuri "postgresql://postgres:postgres@localhost:$$DB_PORT/hamster_tycoon?sslmode=disable"
|
||||
|
||||
.PHONY: local-run
|
||||
local-run: local-run-dependencies local-run-golang ## Run the server with its dependencies
|
||||
|
||||
Reference in New Issue
Block a user