You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/05/03 14:12:27 UTC

[whimsy] branch master updated: Mention Puppeteer

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new ccc0bafa Mention Puppeteer
ccc0bafa is described below

commit ccc0bafa4e46980b8017077163af3f55224370c4
Author: Sebb <se...@apache.org>
AuthorDate: Tue May 3 15:12:21 2022 +0100

    Mention Puppeteer
---
 MACOSX.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/MACOSX.md b/MACOSX.md
index 3bdf28cb..9a802324 100644
--- a/MACOSX.md
+++ b/MACOSX.md
@@ -91,6 +91,18 @@ $ npm -v
 If you don't see v6 or higher, run `hash -r` and try again.  If you previously
 installed node via brew, you may need to run `brew upgrade node` instead.
 
+Install Puppeteer
+-----------------
+There are a couple of scripts that require the Puppeteer node module.
+Installing this is optional, as the scripts are currently only used for cron jobs.
+```
+npm install -g puppeteer
+```
+To enable easy access to the module, define the following enviroment variable:
+```export NODE_PATH=$(npm root -g)```
+For example this may produce
+```NODE_PATH="/usr/local/lib/node_modules"```
+Note: on Ubuntu, it looks as though the default is ```/usr/lib/node_modules```
 
 Clone the Whimsy code
 ------------