NAME

krang_publish - command-line publishing utility for Krang.


SYNOPSIS

Publish everything (all stories & media for all sites) in a krang installation

  $ krang_publish --everything

Only publish assets that have been published before (but publish their latest versions)

  $ krang_publish --everything --republish-only

Only publish assets that have been published before (and re-publish their last-published versions)

  $ krang_publish --everything --republish-only --maintain-versions

Publish all assets of a single site, specified by site-id

  $ krang_publish --site-id 10

Publish all assets for a given category, specified by category-id

  $ krang_publish --category-id 10

Publish a specific story and all related assets (linked stories and media)

  $ krang_publish --story-id 10

Publish a series of stories and their related assets

  $ krang_publish --story-id 10,11,12

The alternative form for multiple-story publish

  $ krang_publish --story-id 10 --story-id 11 --story-id 12


DESCRIPTION

This script provides a command-line tool for publishing content in Krang. Large-scale publish jobs (e.g. entire sites, or moreso, entire installations) should use this tool rather than the web UI, as the web UI is not well-suited to larger publish runs.


OPTIONS