This library generates an embedded version of the dvpn-web.
To re-generate the assets_vfsdata.go
, either mage generate
or go run mage.go generate
To bundle webUI locally:
-
Export version you would like to bundle (makes sure it is available in dpv-web releases)
$ export GIT_TAG_VERSION=1.2.1
-
Bundle dist
$ mage Generate
or
$ go run mage.go Generate
-
In node source root replace module
$ go mod edit -replace github.com/mysteriumnetwork/go-dvpn-web=/Users/user/go/src/go-dvpn-web
-
Finally, build and run node!