Allow openwebrx.py to be run as normal executable
This commit is contained in:
parent
79062ff3d6
commit
35f8daee29
@ -90,11 +90,7 @@ 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:
|
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>.
|
You can now open the GUI at <a href="http://localhost:8073">http://localhost:8073</a>.
|
||||||
|
|
||||||
|
2
openwebrx.py
Normal file → Executable file
2
openwebrx.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from http.server import HTTPServer
|
from http.server import HTTPServer
|
||||||
from owrx.http import RequestHandler
|
from owrx.http import RequestHandler
|
||||||
from owrx.config import PropertyManager
|
from owrx.config import PropertyManager
|
||||||
|
Loading…
Reference in New Issue
Block a user