DEPRECATED. Use https://gitlab.com/deconst-next/submitter
.jpg / .css / .json 👉 content service
Submit prepared JSON documents to the content service.
To run the submitter locally, you'll need to install:
Once you have Docker set up, export any desired configuration variables below and run deconst-submitter.sh.
./deconst-submitter.shThis script is easiest to run within a content repo as then you only need to set CONTENT_SERVICE_APIKEY and CONTENT_SERVICE_URL.
These environment variables must all be specified.
ENVELOPE_DIRA flat directory containing a collection of metadata envelopes in files named with the pattern<url-encoded-content-ID>.json.ASSET_DIRRoot of a directory tree containing assets to be uploaded.CONTENT_SERVICE_URLRoot URL of the content service.CONTENT_SERVICE_APIKEYValid API key for the content service, issued by an administrator.CONTENT_ID_BASEContent ID prefix common to the envelopes found in the envelope directory.
These are optional.
VERBOSESet to a non-empty value to enable debugging output. default: falseASSET_BATCH_SIZESuggested archive size, in bytes, to be uploaded to the content service in a single transaction. default: 30MB