Skip to content

mysteriumnetwork/dvpn-web

Repository files navigation

Node WebUI

NOTE: Issues should be created in node repo

pipeline status
link to pipelines

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. 0.1.6 at the time of writing)

  2. Creating release:

    • Generate a changelog:
    github_changelog_generator --user mysteriumnetwork --project dvpn-web -t $GITHUB_TOKEN --since-tag 0.1.5
    • Use generated changelog as release description
    • Enter appropriate tag and version names, they are usually same values (i.e. 0.1.6)
  3. Wait until builds pass:

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

    go get github.com/mysteriumnetwork/go-dvpn-web@v0.1.6

    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.