In package.json include the following to prevent pkg from compiling it, paste the following:
"pkg": { "assets": "eval.js" }
Procfile is used to upload to heroku
There can be path issues to find the Chrome executable when running it on the cloud, as an executable, as a node application, or as a double-clickable application. Need to remember to use the path module to get the correct paths while saving and accessing files.
Instructions to get started:
git pull
npm install
node index-noserver.js
pkg . --> to package into executable
Google App Engine Deploy:
gcloud app deploy;gcloud app logs tail -s default