Move wsproxy and web utils into utils/ subdir.
This commit is contained in:
parent
9e61a9c6f0
commit
7210e79e04
|
@ -60,16 +60,16 @@ Usage
|
||||||
|
|
||||||
* run the python proxy:
|
* run the python proxy:
|
||||||
|
|
||||||
`./wsproxy.py [listen_port] [vnc_host] [vnc_port]`
|
`./utils/wsproxy.py [listen_port] [vnc_host] [vnc_port]`
|
||||||
|
|
||||||
`./wsproxy.py 8787 localhost 5901`
|
`./utils/wsproxy.py 8787 localhost 5901`
|
||||||
|
|
||||||
|
|
||||||
* run the mini python web server to serve the directory:
|
* run the mini python web server to serve the directory:
|
||||||
|
|
||||||
`./web.py PORT`
|
`./utils/web.py PORT`
|
||||||
|
|
||||||
`./web.py 8080`
|
`./utils/web.py 8080`
|
||||||
|
|
||||||
* Point your web browser at http://localhost:8080/vnc.html
|
* Point your web browser at http://localhost:8080/vnc.html
|
||||||
(or whatever port you used above to run the web server).
|
(or whatever port you used above to run the web server).
|
||||||
|
|
|
@ -11,7 +11,7 @@ import random, time
|
||||||
from base64 import b64encode, b64decode
|
from base64 import b64encode, b64decode
|
||||||
from select import select
|
from select import select
|
||||||
|
|
||||||
sys.path.insert(0,os.path.dirname(__file__) + "/../")
|
sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
|
||||||
from websocket import *
|
from websocket import *
|
||||||
|
|
||||||
buffer_size = 65536
|
buffer_size = 65536
|
||||||
|
|
|
@ -12,7 +12,7 @@ from base64 import b64encode, b64decode
|
||||||
from codecs import utf_8_encode, utf_8_decode
|
from codecs import utf_8_encode, utf_8_decode
|
||||||
from select import select
|
from select import select
|
||||||
|
|
||||||
sys.path.insert(0,os.path.dirname(__file__) + "/../")
|
sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
|
||||||
from websocket import *
|
from websocket import *
|
||||||
|
|
||||||
buffer_size = 65536
|
buffer_size = 65536
|
||||||
|
|
Loading…
Reference in New Issue