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
Create a .gitignore file with the following:
.stoobly/db
.stoobly/settings.yml
.stoobly/snapshots/VERSION
.stoobly/tmpTo Share Snapshots
Add, commit and push the snapshots.
git add .stoobly
git commit -m "Update <SCENARIO-NAME>"
git push origin mainOther team members who want to receive the updated snapshots then pull the changes.
git pull origin mainTeam members then need to run the following command to build the requests in the new Stoobly context.
$ stoobly-agent snapshot applyLast updated
Was this helpful?