Following the documentation on this and this page, I run the following:
$ gatsby new my-gatsby-site-with-docz $ cd my-g