add a paragraph about python3/2 support

This commit is contained in:
randomuser 2021-08-02 22:20:44 -05:00
parent 3db7b43c72
commit 2b88d770e2
1 changed files with 6 additions and 0 deletions

6
README
View File

@ -18,6 +18,12 @@ options:
-nx, --nocgi: disable cgi execution
hints:
if you're running esgd with the python executable on the
command line, e.g. `python esgd.py --host 0.0.0.0
--gopherhost test`, ENSURE THAT THE EXECUTABLE IS INTERPRETING
PYTHON3 CODE. On my system, you have to use the executable
`python3`; `python` is python2 on my system.
by default python's socketserver when hosting on "localhost"
will bind to the loopback interface. this is fine for testing,
but in production you'll want to use --host '0.0.0.0' to force