Start minio
docker compose up
Set S3_ENDPOINT to point to minio:
export S3_ENDPOINT=http://localhost:9000
Or,
source env.local.sh
Run test (tested on node v20)
npx tsx src/main.ts
Configure an aws profile, then set the env variable AWS_PROFILE.
export AWS_PROFILE=<your-profile-name>
Run test (tested on node v20)
npx tsx src/main.ts
npx tsx src/main.ts 10000
Change the code.