propublica / Capitol-Words

Scraping, parsing and indexing the daily Congressional Record to support phrase search over time, and by legislator and date
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

Updated repository for easier first time setup. #73

Closed AlJohri closed 10 years ago

AlJohri commented 10 years ago

I found it a bit challenging to set up the repository for the first time primarily due to outdated pip dependencies so I changed the requirements.txt to dependencies that worked for me and locked them to specific versions, git commits, or release tags.

In addition, the settings.example.py didn't fully reflect all the environment variables that were required by the scraper, parser, solr (ingester), and cwod_site so I added several variables and pointed CWOD_HOME to within the repository to ensure write access.

The full list of changes can be seen below:

AlJohri commented 10 years ago

After working with the solr a bit longer I realize putting the data directory within the repository is unfeasible. I'll split this PR into few small changes and resubmit.

AlJohri commented 10 years ago

Sorry I haven't gotten around to this yet. I'll try to do this within the week.