Michael Goldberger 3762d6a2be fixed indentation in README.md sample config; fixed binary file names in ConsoleClient/README.md 10 лет назад
..
.gitignore 3f3a7d044f Updated Dockerfile and makefile to use go 1.5 and cross compile binaries for windows, linux, and osx; updated ConsoleClient README to use docker instructions; Added subheadings (for anchors) to main README 10 лет назад
Dockerfile 3f3a7d044f Updated Dockerfile and makefile to use go 1.5 and cross compile binaries for windows, linux, and osx; updated ConsoleClient README to use docker instructions; Added subheadings (for anchors) to main README 10 лет назад
README.md 3762d6a2be fixed indentation in README.md sample config; fixed binary file names in ConsoleClient/README.md 10 лет назад
make.bash 9188579d33 fix docker run command in README to bring you back to ConsoleClient even if the builds fail; only disable CGO for the OSX build (CGO_ENABLED=0 causes the linux 64 bit build to segfault, and everything works fine when its enabled) 10 лет назад
psiphonClient.go 25f3b43a21 Moved network interface selection into controller.Run(). Removed listenIP as a config setting. Changed error printouts. Updated config documentation. 10 лет назад

README.md

##Psiphon Console Client README

###Building with Docker

Note that you may need to use sudo docker below, depending on your OS.

#####Create the build image:

  1. Run the command: docker build --no-cache=true -t psiclient . (this may take some time to complete)
  2. Once completed, verify that you see an image named psiclient when running: docker images

#####Run the build: Ensure that the command below is run from within the ConsoleClient directory

  cd .. && \
    docker run \
    --rm \
    -v $(pwd):/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
    psiclient \
    /bin/bash -c 'cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/ConsoleClient && ./make.bash' \
  ; cd -

When that command completes, the compiled binaries will be located in the bin directory (./bin, and everything under it will likely be owned by root, so be sure to chown to an appropriate user) under the current directory. The structure will be:

  bin
  ├── darwin
  │   └── psiphon-tunnel-core-x86_64
  ├── linux
  │   └── psiphon-tunnel-core-i686
  │   └── psiphon-tunnel-core-x86_64
  └── windows
      └── psiphon-tunnel-core-i686.exe
      └── psiphon-tunnel-core-x86_64.exe

Building without Docker

See the main README build section

Creating a configuration file

See the main README configuration section