From 6a3a630759cbfbca40603002e365f77e258399fc Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Mon, 14 Feb 2022 16:18:30 +0800 Subject: [PATCH] modify Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 364bbe70..ae26968f 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,11 @@ build: # start: # @go run -ldflags "-X main.VERSION=$(RELEASE_TAG)" ./cmd/${APP}/main.go web -c ./configs/config.toml -m ./configs/model.conf --menu ./configs/menu.yaml +run_webapi: + nohup ./n9e webapi > webapi.log 2>&1 & + +run_server: + nohup ./n9e server > server.log 2>&1 & # swagger: # @swag init --parseDependency --generalInfo ./cmd/${APP}/main.go --output ./internal/app/swagger -- GitLab