Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Edit Dockerfile and set your Graebert customer account username (LICENSING_ACCOUNT) and password (LICENSING_PASSWORD)
    here:

    Code Block
    ENV LICENSING_ACCOUNT REPLACEME
    ENV LICENSING_PASSWORD REPLACEME
  2. Run "docker build -t kudo:latest ."

  3. Run "docker run -p 8082:80 -e "NGINX_X_FORWARDED_HOST=localhost:8082" kudo:latest"
    NGINX_X_FORWARDED_HOST specifies the “X-Forwarded-Host” header set in nginx config. It is required to have editor’s websocket working that follows the same-origin policy. “X-Forwarded-Host” needs to be passed to identify the original host requested by the client. The default of NGINX_X_FORWARDED_HOST is localhost.

  4. Test the application with a publicly accessible URL:  http://localhost:8082/editor?fileUrl=https://xenon-instance-setup.s3.amazonaws.com/001General.dwg

...