Confirmed users
400
edits
No edit summary |
(Clarify documentation) |
||
Line 5: | Line 5: | ||
* Get a server: <pre>git clone https://github.com/vdjeric/gzipServer.git</pre> | * Get a server: <pre>git clone https://github.com/vdjeric/gzipServer.git</pre> | ||
* You'll need to edit the .py file to remove the windows bindings (assuming you don't use windows) | * You'll need to edit the .py file to remove the windows bindings (assuming you don't use windows) | ||
* You'll need to tell the script listen on your ip address. On OS X, run `ifconfig`, look under en0, get the "inet" address, and | ** Replace the first line with | ||
* Run the server locally: <pre>python gzipServer.py -p <port></pre> | #!/usr/bin/env python | ||
* You'll need to tell the script listen on your ip address. On OS X, run `ifconfig`, look under en0, get the "inet" address, and set HOST_NAME in the script to the first address (not the broadcast). | |||
* Run the server locally, using a port greater than 1024 (unless you want to run the script as privileged code with sudo): | |||
<pre>python gzipServer.py -p <port></pre> | |||
=== Enable telemetry on local builds === | === Enable telemetry on local builds === |