Closed paul-butcher closed 5 months ago
This adds upload functionality to the application. Currently, it is hard-coded to upload to the staging bucket.
With a zip on your local filesystem,
AWS_TARGET_PROFILE=digitisation-developer PYTHONPATH=src python src/transferrer/upload.py path/to/zip
Then have a look on s3:
Whoops. I did a little "tidying" before submitting this PR, and broke it. All good now.
What does this change?
This adds upload functionality to the application. Currently, it is hard-coded to upload to the staging bucket.
How to test
With a zip on your local filesystem,
AWS_TARGET_PROFILE=digitisation-developer PYTHONPATH=src python src/transferrer/upload.py path/to/zip
Then have a look on s3: