django-springsteen
django-springsteen copied to clipboard
A Django app for querying Yahoo! BOSS and aggregating service results.
django-springsteen
Normal Installation
-
Fetch repository from GitHub.
git clone git://github.com/lethain/django-springsteen.git -
Add to Python path.
cd git/django-springsteen/ ln -s `pwd`/springsteen /Library/Python/2.5/site-packages/springsteen -
Go to
example_projectdirectory.cd example_project -
Create a
boss_settings.pyfile which contains the variables specified inConfiguration Settingssection. -
Run development server.
python manage.py runserver
Google App Engine Installation
-
Fetch repository from GitHub.
git clone git://github.com/lethain/django-springsteen.git -
Run the
pack_for_gae.shscript.chmod +x ./scripts/pack_for_gae.sh ./scripts/pack_for_gae -
Move into the
gaedirectory.cd gae -
Open up
app.yamland replacedjangosearchin the first line with the name of your application. -
Create a
boss_settings.pyfile which contains the variables specified inConfiguration Settingssection. -
Run the GAE Development Server.
cd gae dev_appserver.py ./
Configuration Settings
BOSS_APP_IDis your BOSS App ID assigned by Yahoo!SPRINGSTEEN_LOG_QUERIESspecifies whether or not to log queries.SPRINGSTEEN_LOG_DIRis the directory to create thequeries.logfile that contains logged queries.