blob: ae5c674e907355d9104213d239946d0228f4cc62 [file] [log] [blame]
echo 'Killing all Jekyll instances'
kill -9 $(ps aux | grep '[j]ekyll' | awk '{print $2}')
clear
echo "Building PDF-friendly HTML site for Product1 ...";
bundle exec jekyll serve --detach --config _config.yml,pdfconfigs/config_product1_pdf.yml;
echo "done";
echo "Building the PDF ...";
prince --javascript --input-list=_site/pdfconfigs/prince-list.txt -o pdf/product1.pdf;
echo "done";