sc3 / cookcountyjail

A Django app that tracks the population of Cook County Jail over time and summarizes trends.
http://cookcountyjail.recoveredfactory.net/api/1.0/?format=json
Other
31 stars 23 forks source link

Add raw_inmate_data path to webserver #431

Closed nwinklareth closed 10 years ago

nwinklareth commented 10 years ago

This is a sub-task of #429.

Create a directory on the webserver and make it available as /raw_inmate_data. Accessing this URL should display the contents of the directory and any sub-directories and serve any files that are visible.

The directory will not support modification or uploads.

This will be done when the above URL works and displays the contents of the pointed to directory and the contents of the directory cannot be modified in any way.

Once the directory is created then the path to it should be added to the scraper.sh file in the exported environment variable CCJ_RAW_INMATE_DATA_RELEASE_DIR, prior to the call to run the ng_scraper.

The location of this directory must not be the same or a subdirectory of the directory specified in #431. For more info see Scraper Configuration Options.