Skip to content

mysteriumnetwork/dvpn-web

Repository files navigation

Node WebUI

Running

Prerequisites

  • NodeJS >= 18.0.0 (advise using NVM tool)
    nvm install 18 && nvm use 18
  • Yarn
    npm install -g yarn

Quick Start

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.

Release

  1. 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)

  2. 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 and version names, they are usually same values (i.e. 3.0.2)
  3. Wait until builds GH actions pass:

  4. In node go.mod you need to update the go-dvpn-web bundler dependency.

    go get github.com/mysteriumnetwork/go-dvpn-web/v3@v3.0.2

    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
  5. Create a pull request similar to this one.