EvictionLab / eviction-lab-exports

Serverless file generation for Eviction Lab exports
MIT License
3 stars 1 forks source link

File Generation Update #78

Closed Lane closed 4 years ago

Lane commented 4 years ago

@amygroshek i've made some changes that should get things (kind of) running again. the main changes are:

i've added a helper script with some sample data in creator.ts if you want to generate files locally without touching serverless:

files generated by these commands will be in the root directory named file.{FILETYPE}

on top of that you should also be able to run serverless in offline mode and have it generate the files and upload to S3 using the commands you had already created:

i haven't looked into deploying this to the infrastructure yet, might be worth creating new endpoints so we can fallback to the old if anything goes wrong.

hopefully this is enough to get you started developing locally.