1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 15:20:09 +01:00

Update README.md

This commit is contained in:
Donald Zou 2021-07-03 10:30:54 -04:00 committed by GitHub
parent 9b2c59d529
commit 971e127cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,21 +61,21 @@
**1. Download Wireguard Dashboard** **1. Download Wireguard Dashboard**
```shell ```shell
git clone -b v2.1 https://github.com/donaldzou/Wireguard-Dashboard.git $ git clone -b v2.1 https://github.com/donaldzou/Wireguard-Dashboard.git
``` ```
**2. Install Python Dependencies** **2. Install Python Dependencies**
```shell ```shell
cd Wireguard-Dashboard/src $ cd Wireguard-Dashboard/src
python3 -m pip install -r requirements.txt $ python3 -m pip install -r requirements.txt
``` ```
**3. Install & run Wireguard Dashboard** **3. Install & run Wireguard Dashboard**
```shell ```shell
chmod u+x wgd.sh $ chmod u+x wgd.sh
./wgd.sh start $ ./wgd.sh start
``` ```
Access your server with port `10086` ! e.g (http://your_server_ip:10086), continue to read to on how to change port and ip that dashboard is running with. Access your server with port `10086` ! e.g (http://your_server_ip:10086), continue to read to on how to change port and ip that dashboard is running with.
@ -88,11 +88,15 @@ Access your server with port `10086` ! e.g (http://your_server_ip:10086), contin
```shell ```shell
cd Wireguard-Dashboard/src $ cd Wireguard-Dashboard/src
./wgd.sh start # Start the dashboard in background -----------------------------
./wgd.sh debug # Start the dashboard in foreground (debug mode) $ ./wgd.sh start # Start the dashboard in background
./wgd.sh stop # Stop the dashboard -----------------------------
./wgd.sh restart # Restart the dasboard $ ./wgd.sh debug # Start the dashboard in foreground (debug mode)
-----------------------------
$ ./wgd.sh stop # Stop the dashboard
-----------------------------
$ ./wgd.sh restart # Restart the dasboard
``` ```
⚠️ **For first time user please also read the next section.** ⚠️ **For first time user please also read the next section.**