From 042747923babffaf7646dc53e7052120b2dea7f1 Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Fri, 19 May 2023 21:51:22 +0530 Subject: [PATCH 1/6] Add setup instructions for linux --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a333eaf..6d270ed 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,12 @@ If you have only few URLs and don't want to maintain a seperate CSV file. You sh 1. Change the `baseUrl`, `referenceUrl` as per your requirement. 2. Add the slugs in `relativeUrls` array. +## Install following system dependencies for Ubuntu(Linux) +`apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils` + +## Provide node path +- In `index.php` line no. 15 + `define( 'VISUAL_NODE_DIRECTORY', '' ); // Directory which contains Node & npm.` ## Install the depedencies `npm install` From a70e74e1f8d2dcd95305e94a0d7f92311e03558d Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Fri, 19 May 2023 21:53:13 +0530 Subject: [PATCH 2/6] Update dependency formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d270ed..9cffd90 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ If you have only few URLs and don't want to maintain a seperate CSV file. You sh 2. Add the slugs in `relativeUrls` array. ## Install following system dependencies for Ubuntu(Linux) -`apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils` +```apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils``` ## Provide node path - In `index.php` line no. 15 From de6661de8892dfafbb239a4e226344d6989b5470 Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Fri, 19 May 2023 21:54:38 +0530 Subject: [PATCH 3/6] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cffd90..3ae6ec6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,9 @@ If you have only few URLs and don't want to maintain a seperate CSV file. You sh 2. Add the slugs in `relativeUrls` array. ## Install following system dependencies for Ubuntu(Linux) -```apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils``` +``` +apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils +``` ## Provide node path - In `index.php` line no. 15 From a117ba08a01f722976b09bf331bfbd620f2a0666 Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Fri, 19 May 2023 22:00:39 +0530 Subject: [PATCH 4/6] update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ae6ec6..17e175a 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,9 @@ apt update && apt-get install -y ca-certificates fonts-liberation libappindicato ``` ## Provide node path -- In `index.php` line no. 15 - `define( 'VISUAL_NODE_DIRECTORY', '' ); // Directory which contains Node & npm.` +- In `index.php` line no. 15 change your system's node directory path constant. + +`define( 'VISUAL_NODE_DIRECTORY', '' ); // Directory which contains Node & npm.` ## Install the depedencies `npm install` From 0d3bf049d9fd2a8e5234e258514f331dd3cb5cab Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Sat, 20 May 2023 12:53:56 +0530 Subject: [PATCH 5/6] Add nvmrc --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..19c7bdb --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16 \ No newline at end of file From 49e1023aa0cb5c8e9cb5bcdbd402a10a67a1d7cd Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Sat, 20 May 2023 14:26:45 +0530 Subject: [PATCH 6/6] Add node version in docs' --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17e175a..06a0d73 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,16 @@ If you have thousands of URLs that you would like to test then you should config ### Keep the URLs in code only (Recommended for small projects) If you have only few URLs and don't want to maintain a seperate CSV file. You should configure mainConfig.js 1. Change the `baseUrl`, `referenceUrl` as per your requirement. -2. Add the slugs in `relativeUrls` array. +2. Add the slugs in `relativeUrls` array. ## Install following system dependencies for Ubuntu(Linux) ``` apt update && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils ``` +### Node version: 16 +- link: https://deb.nodesource.com/setup_16.x + ## Provide node path - In `index.php` line no. 15 change your system's node directory path constant.