mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-22 09:06:07 -04:00
MQTT rework v0.4, install scripts rework, Traefik docs 📦
This commit is contained in:
1 parent
31e1116483
commit
897112e466
22 files changed
+50461
-204
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# apt-get install python3-requests python3-paho-mqtt python3-scapy -y
|
||||
echo "---------------------------------------------------------"
|
||||
echo "[INSTALL] Run install_python.sh"
|
||||
echo "---------------------------------------------------------"
|
||||
|
||||
# setup virtual python environment so we can use pip3 to install packages
|
||||
apt-get install python3.11-venv -y
|
||||
python3 -m venv myenv
|
||||
source myenv/bin/activate
|
||||
|
||||
update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||
|
||||
# install packages thru pip3
|
||||
pip3 install requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli
|
||||
|
||||
Reference in new issue
Block a user