diff --git a/README.md b/README.md index 19e66cd..0052555 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The ecosystem consists of three main parts: ### 🚀 Installation & Setup #### 1. Server Setup (Central Hub) -* Install dependencies: `pip install flask flask-socketio paho-mqtt psutil werkzeug pywebpush` +* Install dependencies using the provided file: `pip install -r requirements.txt` * Configure `config.json` (use `config.example.json` as template) with your MQTT and WebPush VAPID credentials. * Define your repeaters in `clients.json`. * Run: `python3 app.py` @@ -83,7 +83,7 @@ L'ecosistema si compone di tre parti principali: ### 🚀 Installazione e Configurazione #### 1. Setup del Server (Hub Centrale) -* Installa le dipendenze: `pip install flask flask-socketio paho-mqtt psutil werkzeug pywebpush` +* Installa le dipendenze usando il file fornito: `pip install -r requirements.txt` * Configura `config.json` (usa `config.example.json` come base) con le credenziali MQTT e le chiavi VAPID per le notifiche Push. * Definisci i tuoi ripetitori nel file `clients.json`. * Avvia: `python3 app.py` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..329c4dd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +Flask +Flask-SocketIO +paho-mqtt +psutil +Werkzeug +pywebpush