Skip to content

Commit

Permalink
default billy_settings and add billy to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Sep 23, 2011
1 parent 33bf1f6 commit 8ae7efc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions billy_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import os

SCRAPER_PATHS=[os.path.join(os.getcwd(), 'openstates')]
MONGO_HOST = os.environ.get('OPENSTATES_MONGO_HOST', 'localhost')
MONGO_PORT = os.environ.get('OPENSTATES_MONGO_PORT', 27017)
MONGO_DATABASE = os.environ.get('OPENSTATES_MONGO_DATABASE', 'fiftystates')


try:
from billy_local import *
except ImportError:
pass
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
billy>=0.9.1

lxml>=2.2
feedparser>=4.1
pytz>=2010l
Expand Down

0 comments on commit 8ae7efc

Please sign in to comment.