2 Installation - lebaston100/htmlOverlayFramework GitHub Wiki

1. Installing Python3

1.1 Windows

  • Download Python for Windows
  • Start the installer
  • Select "Add Python 3.6 to PATH"
  • Click "Customize installation"
  • Uncheck "Documentation", "tcl/tk and IDLE", "Python test suite" and click "Next"
  • Click Install and wait for it to finish

1.2 Linux

  • Use your package manager (apt/yum/aptitude) to install python3 and pyhon3-pip
sudo apt-get install python3 python3-pip

2. Installing the server

2.1 Windows

  • Download and unzip the server
  • Open a command prompt in the unziped folder where the file "setup.py" is located
  • Type "python setup.py install" and press Enter

2.2 Linux

  • Open a terminal
  • Install git: sudo apt-get install git
  • Install the server: sudo pip3 install git+https://github.com/dpallot/simple-websocket-server.git