From ab9895ceaf471ed4500ce9a98168cc18ab50f941 Mon Sep 17 00:00:00 2001 From: Gurvan Rivoal Date: Wed, 29 Oct 2025 15:57:02 +0100 Subject: [PATCH] Add some docs --- CONTRIBUTING.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9192485..a0344ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,20 @@ ```bash git clone # or gh repo clone Intrinsec/s3proxy cd s3proxy -docker run --rm -p 4433:4433 -v $PWD:/app -it golang:1.24.5 bash +docker run --rm -p 4433:4433 -v $PWD:/app -it golang:1.25.3 bash # In VSCode, use "Attach to Running Container..." option => select golang container => open /app folder +export AWS_ACCESS_KEY_ID=xxx +export AWS_SECRET_ACCESS_KEY=xxx +export S3PROXY_HOST=xxx +export S3PROXY_ENCRYPT_KEY=toto go run s3proxy/cmd/main.go --no-tls --level=-4 +``` + +# Example + +```bash +echo "test" > test.txt +aws s3 cp ./test.txt s3://bucket/ +aws s3 cp s3://bucket/test.txt ./test.txt +aws s3 rm s3://bucket/test.txt ``` \ No newline at end of file