This is an experimental attempt to port spline-pokedex to pyramid. For more info see veekun#115.
Assuming you have a virtualenv with pokedex already installed.
pip install -e .
cd veekun
- copy pyramid.ini_tmpl to pyramid.ini and edit to your liking. you should probably set beaker.session.secret, although it probably doesn't matter.
mkdir data && pokedex reindex -e postgresql:///yourdb -i data/pokedex-index
pserve --reload pyramid.ini
cd splinext/pokedex
- if necessary, edit
test.ini
with your database uri and lookup index path nosetests tests/test_*.py