Allow openwebrx.py to be run as normal executable

This commit is contained in:
D0han 2019-07-21 20:19:33 +02:00
parent 79062ff3d6
commit 35f8daee29
3 changed files with 3 additions and 5 deletions

View File

@ -90,12 +90,8 @@ Optional Dependency if you want to decode WSJT-X modes:
After cloning this repository and connecting an RTL-SDR dongle to your computer, you can run the server:
python openwebrx.py
./openwebrx.py
You may need to specify the Python version explicitly if your distribution still defaults to Python 2:
python3 openwebrx.py
You can now open the GUI at <a href="http://localhost:8073">http://localhost:8073</a>.
Please note that the server is also listening on the following ports (on localhost only):

0
csdr.py Executable file → Normal file
View File

2
openwebrx.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
from http.server import HTTPServer
from owrx.http import RequestHandler
from owrx.config import PropertyManager