And we have a package!
There are still things to tweak but this should get you started. The package is just a wrapper around the commands on gist.
I highly recommend that you create a share to store the data in (configured via the installation dialog).