Migrate to K8S stack and fixes before big refactoring
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,7 +1,6 @@
|
||||
DEPLOY_DIR := ./deploy
|
||||
SRC_DIR := ./src
|
||||
|
||||
## DEPLOY PART
|
||||
build-image-dev:
|
||||
- sh ${DEPLOY_DIR}/image-build.sh dev
|
||||
|
||||
@@ -14,9 +13,8 @@ push-image-dev:
|
||||
push-image-prod:
|
||||
- sh ${DEPLOY_DIR}/image-push.sh
|
||||
|
||||
# (GOLANG) APP PART
|
||||
app-run:
|
||||
- make -C ${SRC_DIR} run
|
||||
build-local:
|
||||
- go build -C ${SRC_DIR} -o ../deploy/server cmd/server/main.go
|
||||
|
||||
app-build:
|
||||
- make -C ${SRC_DIR} build
|
||||
run-local:
|
||||
- cd deploy/ && ./server
|
||||
|
||||
Reference in New Issue
Block a user