Sharing Sites
How to share a site
Herd makes it easy to share your local sites with the world. This is great for testing your sites on different devices, receiving webhooks, or sharing them with clients and colleagues. Herd uses Expose to share your sites.
Sharing sites via Expose
Expose may not be available in all geographical regions due to regulatory reasons. If Expose isn’t available in your country, try ngrok.
To share your site using Expose, you first need to create a free Expose account. Once you have obtained your authentication token, you can configure it in the “Expose” tab of the preferences window.
Or you can use the CLI:
Once you configured your authentication token, you can share your sites by running herd share
in the site directory that you want to share.
You can specify a subdomain or server region for best performance and by adding parameters for them to the share
command.
Sharing sites via ngrok
If you want to use ngrok, install it according to their instructions. After that, you can share Herd sites via the terminal: