Scripts used during the migration of people and roles.
-
Install the dependencies using Homebrew:
$ brew bundle $ npm install -g blink-diff
-
Run collections against the live content store.
$ cd ~/govuk/collections $ ./startup.sh --live
-
Download screenshots of each person and role.
$ ./download.rb
Note: this takes many hours to complete, perhaps leave it running overnight.
-
Compare the screenshots of Whitehall and Collections.
$ ./compare.rb
Note: this takes many hours to complete, perhaps leave it running for a few days.
-
Analyse the diff screenshots stored in the
comparisonsfolder to decide whether to go live with the migration.