Run npm install -g @quantcdn/quant-cli
to get started.
Use the Quant CLI tool to push output from popular static generators.
Install the Quant CLI tool
Download and install the NodeJS CLI tool.
Initialize your static codebase
Run quant init
within your static codebase. Enter your organization name, project name and token (available from the dashboard) to connect to the QuantCDN service.
Enter the directory containing the built output from your static generator of choice.
Deploy to QuantCDN
Run quant deploy
command within your static codebase to deploy all content (or content change) to the Quant static edge. If content has been removed since the last deploy it will be tracked and unpublished automatically. If md5 hashes match the previous content it will skip the item, keeping the process lean and efficient.
Configure CI pipelines to automatically push change
Use a non-interactive initialization of the CLI tool in your CI pipeline, so you can compile and push content change directly from your git repo when it changes.
Visit ‘Getting started with Quant CLI’ for more information.