To use this repository:
- Install graphviz on your system. With homebrew:
brew install graphviz - Create and populate your own .env file with the Contentful Space ID, a Contentful Management Token, and the name of a Contentful environment (usually
master). npm installthe dependencies of this repo- From the command line, use:
node index.js | dot -Tpng > a_file_name_here.pngto create a .pngnode index.js | dot -Tpdf > a_file_name_here.pdfto create a .pdf