mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 08:53:51 +08:00
Update README.md
This commit is contained in:
parent
9b2c59d529
commit
971e127cfd
1 changed files with 14 additions and 10 deletions
24
README.md
24
README.md
|
@ -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.**
|
||||||
|
|
Loading…
Reference in a new issue