blob: 06ed11c4af2732dca4a7f7ef3458f32167bd8923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
build:
go build
demo:
./vpnweb -caCrt test/files/ca.crt -caKey test/files/ca.key
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/
|