Sharing Snapshots

We leave this up to the user because the snapshots are stored as files on your filesystem. As with any file they can be controlled with a Version Control tool such as Git as well as backed up with tools such as Google Drive or Dropbox. For this guide, we will assume the use of Git.

Prerequisites

  1. Create a .gitignore file with the following:

.stoobly/db
.stoobly/settings.yml
.stoobly/snapshots/VERSION
.stoobly/tmp

Sharing Snapshots

  1. Add, commit and push the snapshots.

git add .stoobly
git commit -m "Update <SCENARIO-NAME>"
git push origin main
  1. Other team members who want to receive the updated snapshots then pull the changes.

git pull origin main
  1. Team members then need to run the following command to build the requests in the new Stoobly context.

$ stoobly-agent snapshot apply

Last updated