pdf-product1.sh 389 B

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