Merge pull request #2 from D0han/file_permissions
Allow openwebrx.py to be run as normal executable
This commit is contained in:
commit
c0a0a642f9
@ -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:
|
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>.
|
||||||
|
|
||||||
Please note that the server is also listening on the following ports (on localhost only):
|
Please note that the server is also listening on the following ports (on localhost only):
|
||||||
|
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