File: setup.sh

package info (click to toggle)
mitmproxy 6.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 37,008 kB
  • sloc: python: 46,207; javascript: 6,250; xml: 189; sh: 138; ansic: 68; sql: 19; makefile: 13
file content (14 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -o errexit
set -o pipefail
set -o nounset
# set -o xtrace

# This is only needed once to provision a new fresh empty S3 bucket.

aws configure set preview.cloudfront true
aws --profile mitmproxy \
    s3 cp --acl public-read ./bucketassets/error.html s3://docs.mitmproxy.org/error.html
aws --profile mitmproxy \
    s3 cp --acl public-read ./bucketassets/robots.txt s3://docs.mitmproxy.org/robots.txt