Diffy documentation
  • Features
    • 👋Welcome
    • Mask & Exclude
    • JavaScript snippets
    • HTTP headers
    • Cookies
    • CSS overrides
    • Mock content
    • Dealing with Dynamic Elements
      • Freeze Carousels / Sliders
      • Cookies Policy Popups
    • Configure project from YAML file
    • Zapier integration (JIRA, Trello, Basecamp integrations)
    • Bypass protection Cloudfront, Akamai, Incapsula
      • Bypass Akamai protection
      • Bypass Imperva Incapsula protection
    • Tags
    • Local development
      • DDEV add-on
      • Lando integration
      • Standalone docker container
      • Ngrok
  • Automation
    • 💡Overview
    • GitHub Pantheon CircleCI
    • GitHub Pantheon GitHub Actions
    • GitHub Tugboat
  • Tutorials
    • Comparison review
Powered by GitBook
On this page
  • Set up ngrok
  • DDEV setup
  • Create custom screenshot with Diffy
  1. Features
  2. Local development

Ngrok

You can test your local site by tunneling with ngrok so Diffy has access to it.

PreviousStandalone docker containerNextOverview

Last updated 11 days ago

Set up ngrok

If you like, I can share with you Diffy's account for testing purposes. Once it works, you can purchase your Personal license yourself.

  1. Create an account at https://ngrok.com/ and purchase the license

  2. Install ngrok locally (for Mac, it is simple brew install ngrok)

  3. Populate auth code locally ngrok config add-authtoken <your token>

DDEV setup

Now, you can expose your local site globally by running ddev share

Remember to copy the URL from ngrok.

Create custom screenshot with Diffy

Now, you can create screenshots from a custom environment. Specify the URL you got from ngrok.

Important notice: We can easily overload your local environment if you set the number of non-production workers to 5.

For other environments, please check the documentation. Here is an article for . For Docksal similar command fin share ().

Lando
documentation
set up ngrok
ddev share
custom screenshots from ngrok environment