From 2c0b3be9000aca3ee587ed58ee0e981a2af6c0d0 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 2 Apr 2021 21:14:51 -0400 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1be589a..1f2c864 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,15 @@ Monitoring Wireguard is not convinient, need to login into server and type `wg s **1. Install Python Dependencies** ``` -$ python3 -m pip install flask tinydb +$ python3 -m pip install flask tinydb ``` **2. Install Wireguard Dashboard** ``` -$ git clone https://github.com/donaldzou/Wireguard-Dashboard.git -$ cd Wireguard-Dashboard/src -$ python3 dashboard.py +$ git clone https://github.com/donaldzou/Wireguard-Dashboard.git +$ cd Wireguard-Dashboard/src +$ python3 dashboard.py ``` Access your server with port `10086` ! e.g (http://your_server_ip:10086) @@ -38,14 +38,14 @@ Access your server with port `10086` ! e.g (http://your_server_ip:10086) **3. Install with Production Mode (Optional)** ``` -$ cd Wireguard-Dashboard/src -$ export FLASK_APP=dashboard.py -$ export FLASK_RUN_HOST=0.0.0.0 -$ export FLASK_ENV=development -$ export FLASK_DEBUG=0 -$ flask run +$ cd Wireguard-Dashboard/src +$ export FLASK_APP=dashboard.py +$ export FLASK_RUN_HOST=0.0.0.0 +$ export FLASK_ENV=development +$ export FLASK_DEBUG=0 +$ flask run ``` ## 🔍Example ![Index Image](https://github.com/donaldzou/Wireguard-Dashboard/raw/main/src/static/index.png) -![Conf Image](https://github.com/donaldzou/Wireguard-Dashboard/raw/main/src/static/configuration.png) \ No newline at end of file +![Conf Image](https://github.com/donaldzou/Wireguard-Dashboard/raw/main/src/static/configuration.png)