- Flask:
pip3 install flask
- vnstat:
apt install vnstat
Edit file vnstat-dashboard.py
to make changes
- Line 7 for server port
- Line 8 for server name
- Clone the repo:
git clone https://github.com/spandan13/vnstat-dashboard.git
- Move to the repo directory:
cd vnstat-dashboard
- Run the app:
python3 vnstat-dashboard.py