Lando integration
You can take screenshots from your local Lando-powered website and upload them to Diffy. Here are a few steps.
Snippet to your .lando.yml
file
.lando.yml
fileThe snippet to add is:
This will add a container diffywebsite2/screenshot-worker:0.0.4
to your setup and download the worker code to .diffy-worker
directory.
Please pay attention that you need to replace diffy-marketing.lndo.site
it with whatever your local environment URL is. Also, if you lik,e you can name your screenshots somehow differently than just lando
.
Provide the API Key and Project ID to .env
file
.env
fileRun screenshots
To run the screenshots, you can call
This will take screenshots and upload them to Diffy.
Here is a video walkthrough of setting up a project and taking screenshots from your Lando site
Last updated