Currently, every time the code for the webscraper is updated, we must run a git pull on the VM's home directory to effectuate these changes on the actual webscraper code that is being executed.
We're going to want to move the webscraper to a new directory (similar to how the web-app is in /opt/tomcat/webapp, maybe pick /opt/cp-webscraping) and have deploy.sh script copy the webscraping code into this directory (possibly via scp). The cron job will need to be updated to point to this new directory instead of the current /home/david/CoursePlanner/webscraping/
Currently, every time the code for the webscraper is updated, we must run a
git pull
on the VM's home directory to effectuate these changes on the actual webscraper code that is being executed.We're going to want to move the webscraper to a new directory (similar to how the web-app is in
/opt/tomcat/webapp
, maybe pick/opt/cp-webscraping
) and havedeploy.sh
script copy the webscraping code into this directory (possibly viascp
). The cron job will need to be updated to point to this new directory instead of the current/home/david/CoursePlanner/webscraping/