Get the code:
git clone https://github.com/ezag/gamebook.git
cd gamebookSet 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.csvCreate SQL table:
gb-create-table postgres://zag@localhost/gamebookStore data in database:
gb-url-to-db http://www.nflgsis.com/2016/REG/04/56952/Gamebook.pdf 56952 postgres://zag@localhost/gamebook