From 0c15f2abae7bddbf3311d83aca33aca1aa5761c8 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 27 Jan 2020 17:32:43 -0600 Subject: add auth to eip-service --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1481a5a..35877d5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +CONFIG=config/demo.yaml +EIP_TEMPLATE=scripts/templates/eip-service.json.jinja +EIP_SERVICE=deploy/public/3/eip-service.json +PROVIDER_TEMPLATE=scripts/templates/provider.json.jinja +PROVIDER=deploy/public/provider.json + build: go build cmd/vpnweb/vpnweb.go demo-sip: @@ -11,8 +17,8 @@ gen-shapeshifter: scripts/gen-shapeshifter-state.py deploy/shapeshifter-state gen-provider: mkdir -p deploy/public/3 - python3 scripts/simplevpn.py --file=eip --config=config/demo.yaml --template=scripts/templates/eip-service.json.jinja --obfs4_state deploy/shapeshifter-state > deploy/public/3/eip-service.json - python3 scripts/simplevpn.py --file=provider --config=config/demo.yaml --template=scripts/templates/provider.json.jinja > deploy/public/provider.json + @python3 scripts/simplevpn.py --file=eip --config=$(CONFIG) --template=$(EIP_TEMPLATE) --obfs4_state deploy/shapeshifter-state > $(EIP_SERVICE) || echo "ERROR: see $(EIP_SERVICE) for output" + @python3 scripts/simplevpn.py --file=provider --config=$(CONFIG) --template=$(PROVIDER_TEMPLATE) > $(PROVIDER) || echo "ERROR: see $(PROVIDER) for output" populate: cp test/1/* public/1/ cp test/files/ca.crt public/ -- cgit v1.2.3