NationalCentreTruthReconciliation / Secure-Record-Transfer

A transfer portal incorporating CAAIS and BagIt Specifications
https://secure-record-transfer.readthedocs.io/en/latest/
4 stars 2 forks source link

Remove need for dev env #215

Open yenaing-oo opened 1 month ago

yenaing-oo commented 1 month ago

Closes https://github.com/NationalCentreTruthReconciliation/Secure-Record-Transfer/issues/207

yenaing-oo commented 1 month ago

How can I test whether the media/bags/ and media/uploaded_files/ directories exist? Are they only created when a file is uploaded? I made a submission and uploaded a file, but I could not find the media/ directory in /app/bagitobjecttransfer/recordtransfer: image

There were no files in /app/bagitobjecttransfer/media/ either: image

danloveg commented 1 month ago

How can I test whether the media/bags/ and media/uploaded_files/ directories exist? Are they only created when a file is uploaded? I made a submission and uploaded a file, but I could not find the media/ directory in /app/bagitobjecttransfer/recordtransfer:

That's a valid point, I actually think the variables need to be different for test, dev, and prod.

You might notice that it's not possible to set them differently depending on their environment, that's because of this issue: #210.

This PR is blocked until #210 is resolved.