brew cask install ngrok
The easiest way to use ngrok to tunnel into your localhost is if your local project is running on a specific port (e.g. not using named vhosts). You just run ngrok http [port number]
.
You can quickly boot up a local webserver using ruby. cd
into the project's root directory and run ruby -run -e httpd . -p [port number]
.