Version 1.6.13 adds user-friendly –help to the bin/builder.sh command.

bin/builder.sh --help

Result:

version v1.6.13-Johnson
BASICS
Must always run from ~/pagekicker-community/scripts/
Usage: bin/builder.sh --option1 "value" etc.

QUICK START
--seedsviacli "Melania Trump; Slovenia" # semi-colon separated
--booktitle "Melania of Slovenia"
--editedby "Your Name Here" # your personal byline
--expand_seeds_to_pages "yes" # spidering search strategy, many more pages
--verbose (no value) turn on verbose output
Job results: ls -lart $TMPDIR (default /tmp/pagekicker/), inside latest dir

DEFAULTS
User configuration file: ~/.pagekicker/config.txt
Default variable values: scripts/includes/set-variables.sh
Command line trumps default variables trumps user configuration

COMPLETE LIST OF OPTIONS
(to come)

The “QUICK START” is all you need to know to build your first book from the command line.

To install PageKicker, do:

git clone https://github.com/fredzannarbor/pagekicker-community
cd pagekicker-community
./simple-install.sh

Try a first book build:

bin/builder.sh --seedsviacli "Melania Trump; Slovenia" \
--booktitle "Melania of Slovenia" --verbose

The results will be found in the latest directory in $TMPDIR, usually /tmp/pagekicker. You can find the latest directory using ls -lart.  The files you want begin with an SKU number and end in document extensions like .docx and .epub.

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s