Jacob-Friesen / portfolio_website

Jacob's portfolio website demonstrating his skills and experience

Home Page:jacobfriesen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Obscure JS (Blog) Utilities Working

Jacob-Friesen opened this issue · comments

https://github.com/Jacob-Friesen/obscurejs_utilities
http://obscurejavascript.tumblr.com/

This just means setting up paths and the utilities to load into the right path too.

The cron job must be run like this now:

node update_most_popular.js -o portfolio_website/dist/downloads/most_popular.html

Right now the content load is done manually until the cron is confirmed to work.

It seems that the CSS has to be copies and manually referenced too.

The utilties were updated with CSS copying and the cron job has been added with

crontab -e
0 0 * * * /home/jacob/nvm/v4.0.0/bin/node /home/jacob/obscurejs_utilities/update_most_popular.js --html ../portfolio_website/dist/downloads/most_popular.html --css ../portfolio_website/dist/downloads/most_popular.css