From 8388120605a3c8d6ab2424d63a22d5ef878bfbd2 Mon Sep 17 00:00:00 2001 From: Arya K <73596856+gi-yt@users.noreply.github.com> Date: Mon, 30 May 2022 14:36:07 +0000 Subject: [PATCH] Add upgrade instructions --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fab365d9..5ab979b9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host! ## Requirements * A host with a kernel that supports WireGuard (all modern kernels). -* A host with Docker installed. +* A host with Docker installed (or you could use the non-docker installation instructions). ## Installation @@ -99,6 +99,10 @@ Are you enjoying this project? [Buy me a beer!](https://github.com/sponsors/WeeJ These options can be configured by setting environment variables using `-e KEY="VALUE"` in the `docker run` command. +If you are using the systemd service, then you can add new ones using `Environment=KEY=VALUE` under the [Service] Section in the service file. + + + | Env | Default | Example | Description | | - | - | - | - | | `PASSWORD` | - | `foobar123` | When set, requires a password when logging in to the Web UI. | @@ -125,3 +129,15 @@ docker pull weejewel/wg-easy ``` And then run the `docker run -d \ ...` command above again. + +If you are using the non-docker installation, then do the following +
+git clone https://github.com/WeeJeWel/wg-easy # do this if you dont have the repository cloned aldready +cd wg-easy +git pull +rm -rf /app /node_modules +mv src /app +cd /app +npm ci --production +cp node_modules .. +