Test locally

You can generate a PDF of your local application using a Secure tunnel to localhost with Ngrok

The only thing you need to do is:

Step 1

Go to Ngrok website and Download ngrok according your OS.

Ngrok Versions

Step 2

Unzip it and run it using your localhost port application.

$ ./ngrok http <port>

Then ngrok gives you something similar to this:

ngrok by @inconshreveable (Ctrl+C to quit) Session Status online Update update available (version 2.2.3, Ctrl-U to update) Version 2.1.18 Region United States (us) Web Interface Forwarding http://58395290.ngrok.io -> localhost:4000 Forwarding https://58395290.ngrok.io -> localhost:4000 Connections ttl opn rt1 rt5 p50 p90 0 0 0.00 0.00 0.00 0.00

Now your local environment is reacheable in internet http://58395290.ngrok.io

If you need to know more about ngrok read the Documentation or list the commands available in your shell with:

$ ./ngrok help