relaton / relaton-nist

NistBib: retrieve NIST Standards for bibliographic use using the BibliographicItem model
https://www.metanorma.com
MIT License
2 stars 1 forks source link

Store documents from JSON data file to relaton-data-nist #57

Open andrew2net opened 2 years ago

andrew2net commented 2 years ago

The relaton-nist gem saves a JSON data file on local storage for searching use. In case using relaton as an API, it's run in an AWS Lambda container. Lambda has a read-only file system and doesn't allow saving files. relaton/relaton-calconnect#11. We need to parse the data file and save the documents as separated files in the GitHub relaton-data-nist repository.

ronaldtse commented 2 years ago

Lambda has a read-only file system and doesn't allow saving files.

When we need to cache files in Lambda, we have to use an S3 bucket, I believe @phuonghuynh has already created it for you?