2023-04-27 09:17:13 +00:00
|
|
|
# to install required dependencies
|
|
|
|
```pip install -r requirements.txt```
|
|
|
|
|
|
|
|
# to run the telegram bot and listen for commands
|
|
|
|
```python3 moonlight_analytics.py```
|
|
|
|
|
|
|
|
# to run the nightly iperf test
|
|
|
|
```python3 nightly_test.py```
|
|
|
|
|
|
|
|
# to install a systemd service file for the telegram bot
|
|
|
|
- update moonlight_analytics.service with correct paths
|
|
|
|
- cp moonlight_analytics.service /etc/systemd/system/
|
|
|
|
- sudo systemctl enable moonlight_analytics.service
|
|
|
|
- systemctl status moonlight_analytics.service (to see it running)
|