-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 718 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
INSTALL_BIN=/usr/local/bin/fabnctl
INSTALL_DIR=$(HOME)/fabnctl
build:
go build -v -o ./bin/fabnctl .
install:
sudo cp ./bin/fabnctl $(INSTALL_BIN)
sudo mkdir $(INSTALL_DIR) || echo $(INSTALL_DIR) exists
sudo cp -ur ./deploy/charts $(INSTALL_DIR)
sudo cp -ur ./template $(INSTALL_DIR)
sudo cp -ur ./.cli-config.yaml $(INSTALL_DIR)/.cli-config.yaml
install-dev: build install
install-local-path:
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
install-traefik:
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm upgrade --install traefik traefik/traefik
prepare-cluster: install-local-path install-traefik