Move wsproxy and web utils into utils/ subdir.

This commit is contained in:
Joel Martin 2010-06-07 12:47:02 -05:00
parent 9e61a9c6f0
commit 7210e79e04
10 changed files with 6 additions and 6 deletions

View File

@ -60,16 +60,16 @@ Usage
* 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:
`./web.py PORT`
`./utils/web.py PORT`
`./web.py 8080`
`./utils/web.py 8080`
* Point your web browser at http://localhost:8080/vnc.html
(or whatever port you used above to run the web server).

View File

@ -11,7 +11,7 @@ import random, time
from base64 import b64encode, b64decode
from select import select
sys.path.insert(0,os.path.dirname(__file__) + "/../")
sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
from websocket import *
buffer_size = 65536

View File

@ -12,7 +12,7 @@ from base64 import b64encode, b64decode
from codecs import utf_8_encode, utf_8_decode
from select import select
sys.path.insert(0,os.path.dirname(__file__) + "/../")
sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
from websocket import *
buffer_size = 65536