This commit is contained in:
Norm Rasmussen
2023-03-07 14:56:54 -05:00
parent 3e9d970f11
commit 019d7cc362
7 changed files with 67 additions and 2 deletions

View File

@ -0,0 +1,15 @@
#! /bin/zsh
jscript=$(node resources_api.js)
render_pdf=$(python3 combine_to_pdf.py)
echo "Loading virtual environment for Python"
. ${PYENV_ROOT}/versions/walmart/bin/activate | awk 'NR==1{print $1,$2,$3}'
echo "First up, Javascript's Pupeteer."
echo "$jscript"
echo "JS Complete. Running Python Script to clean up PDFs."
echo "$render_pdf"
echo "PDFs complete. Shutting down Virtual env."