node version disclaimer in README

script didn't work on node v14 and had to use nvm to bump up to the current version
This commit is contained in:
Ruthvik Reddy SL 2024-01-25 19:40:16 +05:30 committed by GitHub
parent a1936b56a8
commit a4a007a80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
Use this script to get your entire site indexed on Google in less than 48 hours. No tricks, no hacks, just a simple script and a Google API.
You can read more about the motivation behind it and how it works on this blog post https://seogets.com/blog/google-indexing-script
You can read more about the motivation behind it and how it works in this blog post https://seogets.com/blog/google-indexing-script
> [!IMPORTANT]
> 1. Indexing != Ranking. This will not help your content/page rank on Google, it'll just let Google know about the existence of all your pages.
@ -23,11 +23,12 @@ You can read more about the motivation behind it and how it works on this blog p
## Usage
1. Open a terminal and navigate to the folder where you cloned repository
2. Run `npm install` to install the dependencies
3. Run `npm run index <domain or url>` to index all the pages of your site.
1. Open a terminal and navigate to the folder where you cloned the repository
2. Ensure you are using an up-to-date Node.js version, with a preference for v20 or later. Check your current version with `node -v` and use [nvm](https://nvm.sh) for managing multiple node versions.
3. Run `npm install` to install the dependencies
4. Run `npm run index <domain or url>` to index all the pages of your site.
- If your site is a `Domain` Property on GSC, then run it like `npm run index seogets.com`
- Otherwise if it's a `URL Prefix` property, then run it like `npm run index https://seogets.com`
- Otherwise, if it's a `URL Prefix` property, then run it like `npm run index https://seogets.com`
- When in doubt try both 😀
Here's an example of what you should expect: