Get the code:
git clone https://github.com/ezag/gamebook.git
cd gamebook
Set up virtualenv, install dependencies and development tools:
virtualenv .env
source .env/bin/activate
pip install -r requirements-devel.txt
pip install -e .
Convert PDF to CSV:
gb-pdf-to-csv < tests/pdf/56505.pdf > 56505.csv
gb-pdf-to-csv < tests/pdf/56918.pdf > 56918.csv
Create SQL table:
gb-create-table postgres://zag@localhost/gamebook
Store data in database:
gb-url-to-db http://www.nflgsis.com/2016/REG/04/56952/Gamebook.pdf 56952 postgres://zag@localhost/gamebook