This commit is contained in:
alexandrev-tibco
2026-02-01 22:47:26 +01:00
parent 3692e46cf9
commit 6b405419cf
8 changed files with 1057 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
APP_NAME=portfoliojournal-og
BUILD_DIR=bin
PORT?=8090
.PHONY: build run clean install-service
build:
@mkdir -p $(BUILD_DIR)
GO111MODULE=on go build -o $(BUILD_DIR)/$(APP_NAME) .
run:
PORT=$(PORT) GO111MODULE=on go run .
clean:
@rm -rf $(BUILD_DIR)
install-service: build
@echo "Install the binary and OpenRC service using the instructions in README.md"