Skip to content
Snippets Groups Projects
Select Git revision
  • 0924d91b30de831568e48244ee78d5d58e8b35a6
  • master default
2 results

pdf-product2.sh

Blame
  • pdf-product2.sh 389 B
    echo 'Killing all Jekyll instances'
    kill -9 $(ps aux | grep '[j]ekyll' | awk '{print $2}')
    clear
    
    echo "Building PDF-friendly HTML site for Product2 ...";
    bundle exec jekyll serve --detach --config _config.yml,pdfconfigs/config_product2_pdf.yml;
    echo "done";
    
    echo "Building the PDF ...";
    prince --javascript --input-list=_site/pdfconfigs/prince-list.txt -o pdf/product2.pdf;
    echo "done";