Skip to content

Installation

Tyler Bucher edited this page Sep 7, 2018 · 1 revision

Installing the WebGL Map (GLM) client side project

Download or build the project

Downloading the project

  • You can download the latest pre-built projects files form the releases page here.

Building the project from source

Note: In order to build the project glm-client you will need to have git and Node.js installed. The applications might also need to be on the system path.

  • Clone the glm-client project here and run the build.bat or build.sh file.
  • Copy the resulting files from the release folder to a directory which web server like apache, IIS, or NGIX can use.

Apache setup and configuration

Apache mods

Possible apache mods which might need to be enabled, depending on your setup.

  • proxy
  • ssl
  • rewrite
  • proxy_http
  • proxy_wstunnel

Cloudflare SSL

Note: In order to use Cloudflare SSL you need to configure apache to talk to cloudlfare via SSL using the origin certificate and key you made / received, then just proxy the connection to the non SSL WebSocket server.
Example:

SSLEngine on
SSLCertificateFile /path/to/cloudflare/origin.crt
SSLCertificateKeyFile /path/to/cloudflare/origin.key

ProxyPassReverse / ws://<address>:<port>/
ProxyPass / ws://<address>:<port>/