Docksal
Create screenshots from your Docksal local site and upload them to Diffy.
Last updated
Create screenshots from your Docksal local site and upload them to Diffy.
Last updated
.docksal/docksal.yml
fileYou need to add a new service
This creates a container and mounts the whole project's directory under /app
directory in the container.
Remember to restart the environment to pull the container.
Now we can ssh to the container and install the worker's code
.env
fileRun the screenshots command inside your container as ubuntu
user:
Remember to adjust the --url
for your local site's name and you can fine tune the name of the screenshots as well.
Inside of .diffy-worker
directory, you need to create a .env
file (copy it from .env.example
) and provide DIFFY_API_KEY
and DIFFY_PROJECT_ID
. These are to be obtained from the Diffy application. You can generate the API Key on .