Get started with the Quant CLI
#
InstallInstall the CLI tool via NPM. Simply run:
#
InitialiseThe CLI tool expects to run from a folder containing a quant.json
file, which contains information necessary to connect to the Quant service.
To initialise Quant (and create the quant.json
file) navigate to a directory containing build assets and run quant init
.
#
DeployTo deploy all content run quant deploy
This process will push all files and content that have changed since the previous deployment. It will also unpublish any content that has been removed since the last deployment.
#
Static generatorsMost static generators will work with the CLI tool by their very nature (generation of static assets!)
Quant has been tested with success with Jekyll, Hugo, Hexo, Gatsby, MkDocs, Docusaurus (this site), Pelican, and more. Please contact us if you have issues integrating with any existing static generators, we would love to hear from you!