From 91c2cb2c9e0e41acb8a2ebc643ae009f2e660fdc Mon Sep 17 00:00:00 2001 From: janic Date: Mon, 24 Oct 2022 23:34:19 +0200 Subject: [PATCH] Added support to build API binarys --- .gitignore | 5 ++++- makefile | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2a8b7bc..ebb6d95 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,7 @@ config/__pycache__ # Template generated files: src/docker-compose.yml -src/clean-data.sh \ No newline at end of file +src/clean-data.sh + +# NGINX API Binary +bin \ No newline at end of file diff --git a/makefile b/makefile index a25172a..27a22f8 100644 --- a/makefile +++ b/makefile @@ -37,10 +37,12 @@ db-stop: # Setup API api: api-start +api-init: + cd src/api; go build -o ../../bin/engine_x_mgmt api-start: - + ./bin/engine_x_mgmt & api-stop: - + # Setup UI ui: ui-start