Skip to content

Building a Network Web Socket Proxy from Source

richtr edited this page Dec 4, 2014 · 4 revisions

You can build and run a Network Web Socket Proxy from the latest source files contained in this repository with the following instructions:

  1. Install go.

  2. Download the necessary repository and all library dependencies using the following go get command:

     go get github.com/namedwebsockets/cmd/networkwebsockets
    
  3. Locate and change directory to this newly downloaded repository:

     cd `go list -f '{{.Dir}}' github.com/namedwebsockets/cmd/networkwebsockets`
    
  4. Now you can run a Network Web Socket Proxy with an optional port argument (on which to bind the localhost Network Web Socket Creator. The default port is 9009):

     go run run.go -port=9009
    

At this point a Network Web Socket Proxy should be up and ready for usage at localhost:9009 (or at the port you specified in step 4 above). You can load that URL in a web browser on the same machine to access a test console too.

You can now start using your Network Web Socket Proxy via any of the Network Web Socket Proxy Interfaces described in the project README file.

Clone this wiki locally