Environment for the iron.io script which builds docs and pushes them to S3.
1.6K
This folder contains scripts and configuration files that generate a copy of the static html files by MkDocs from the Markdown (.md) files and copies them to the AWS S3 bucket for hosting which is viewable via CloudFront (due to https requirements by HSTS).
Command to delete all files from S3 bucket using s3tools
s3cmd del -r --force s3://testdocs.coralproject.net/
Command to put (push) all files to S3 using s3tools
s3cmd put ./site/* -rvM --force --no-mime-magic --guess-mime-type s3://testdocs.coralproject.net/
Command to sync all changed files by comparing the md5 checksum between local and S3 bucket files using s3tools
s3cmd sync ./site/* -rvM --force --no-mime-magic --guess-mime-type --check-md5 s3://testdocs.coralproject.net/
Command to compress and upload docsync folder contents to Iron.io (run within the folder)
zip -r docsync.zip . && iron worker upload --zip docsync.zip --name docsync coralproject/docsync ./docsync.sh ~~~~
curl -sSL https://cli.iron.io/install | shconfig.sample.sh to config.shzip -r docsync.zip . && iron worker upload --zip docsync.zip --name docsync coralproject/docsync ./docsync.shContent type
Image
Digest
Size
138.3 MB
Last updated
about 9 years ago
docker pull coralproject/docsync