summaryrefslogtreecommitdiff
path: root/Makefile
blob: 50e53aba1b4b40f5ed3bd838fe53a37bafa11eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
build:
	go build cmd/vpnweb/vpnweb.go
demo:
	. config/CONFIG && ./vpnweb -notls
clean:
	rm -f public/1/*
	rm public/ca.crt
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
populate:
	cp test/1/* public/1/
	cp test/files/ca.crt public/