sharedstreets / mobility-metrics

Tools for collecting, processing, and interpreting mobility data using SharedStreets
MIT License
50 stars 17 forks source link

report missing database directory #4

Closed morganherlocker closed 5 years ago

morganherlocker commented 5 years ago

Expanding on issue #3 , let's report an error and exit the process when the database is unable to be created. I have documented the mkdir -p data step in setup, but this is an easy thing to forget, especially during development.

kpwebb commented 5 years ago

Good catch on this -- tho I'm not sure why the mkdirSync call isn't recursively creating this directory. i'll investigate

morganherlocker commented 5 years ago

The latest architecture does not allow this (handled by the backfill command)