|
@ -13,6 +13,7 @@ First, make sure you have Python 2.6 or 2.7. |
|
|
$ python --version |
|
|
$ python --version |
|
|
Python 2.6.8 |
|
|
Python 2.6.8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Then edit `config.json`, change the following values: |
|
|
Then edit `config.json`, change the following values: |
|
|
|
|
|
|
|
|
server your server ip or hostname |
|
|
server your server ip or hostname |
|
@ -36,7 +37,10 @@ You can use args to override settings from `config.json`. |
|
|
|
|
|
|
|
|
python local.py -s server_name -p server_port -l local_port -k password |
|
|
python local.py -s server_name -p server_port -l local_port -k password |
|
|
python server.py -p server_port -k password |
|
|
python server.py -p server_port -k password |
|
|
|
|
|
|
|
|
|
|
|
You may want to install gevent for better performance. |
|
|
|
|
|
|
|
|
|
|
|
$ sudo easy_install gevent |
|
|
|
|
|
|
|
|
troubleshooting |
|
|
troubleshooting |
|
|
--------------- |
|
|
--------------- |
|
|