- NodeJS >= 18.0.0 (advise using NVM tool)
nvm install 18 && nvm use 18
- Yarn
npm install -g yarn
To run app in development mode:
yarn && yarn dev
This will start app on port 3000 and should automatically open browser and navigate to the webUI.
-
Start a Draft release from https://github.com/mysteriumnetwork/dvpn-web/releases
Set appropriate release version (i.e. 3.0.2 at the time of writing) -
Creating release:
- Generate a changelog:
github_changelog_generator --user mysteriumnetwork --project dvpn-web -t $GITHUB_TOKEN --since-tag 3.0.1
- Use generated changelog as release description
- Enter appropriate
tag
andversion
names, they are usually same values (i.e. 3.0.2)
-
Wait until builds GH actions pass:
-
In node go.mod you need to update the
go-dvpn-web
bundler dependency.go get github.com/mysteriumnetwork/go-dvpn-web/[email protected]
Also, it is a good practice to do a test run. You can spin up Node by:
mage daemon
or
go run mage.go daemon
-
Create a pull request similar to this one.