WatchWolf

An instance will be used to run your tests.

New Windows App instance

  1. Install Windows Susbystem of Linux (WSL2)
  2. Install Docker for Windows
  3. Open the Ubuntu terminal
    1. Press Windows + R
    2. Type wsl
  4. Install the dependencies: sudo apt-get update && sudo apt-get install -y wget grep git curl jq mawk dos2unix
  5. Run wget https://raw.githubusercontent.com/watch-wolf/WatchWolf/dev/WatchWolfSetup.sh
  6. Run the script in build mode
    bash WatchWolfSetup.sh --build --dev
  7. Install the script
    bash WatchWolfSetup.sh --install --disable-startup

New Ubuntu App instance

  1. Install Docker for Ubuntu
  2. Install the dependencies: sudo apt-get update && sudo apt-get install -y wget grep git curl jq mawk dos2unix
  3. Run wget https://raw.githubusercontent.com/watch-wolf/WatchWolf/dev/WatchWolfSetup.sh
  4. Run the script in build mode
    bash WatchWolfSetup.sh --build --dev
  5. Install the script
    bash WatchWolfSetup.sh --install --disable-startup

Starting the instance

  1. Make sure that Docker is running
  2. Open the Ubuntu terminal
    1. Press Windows + R
    2. Type wsl
  3. Run watchwolf --run

(optional) Adding more server types

By default, all Spigot and Paper versions should be built after the setup script install. If either `~/WatchWolf/ServersManager/ci/release/server-types/Spigot/` or `~/WatchWolf/ServersManager/ci/release/server-types/Paper/` is empty please, ask for help on the Discord server. If you want to place custom server types, create a new folder with the desired name on `~/WatchWolf/ServersManager/ci/release/server-types`, and then place the server versions inside. Please note that the versions must follow the naming `.jar`; for example, "1.20.jar". Then, when you're building the test, specify the new server type on the `server-type` section.

Running the tests

Check the example under Testing Docs - Test example.