You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This repo requires `node`, `pnpm`, and the [Netlify CLI](https://www.netlify.com
22
22
23
23
#### Installing `node`:
24
24
25
-
The best way to install `node` is to [download the installer](https://nodejs.org/en/) from their site. This repo requires `node` version `18.16`, which is the latest[LTS version](https://nodejs.dev/en/about/releases/).
25
+
The best way to install `node` is to [download the installer](https://nodejs.org/en/) from their site. This repo requires `node` version `24` or newer (see `.nvmrc`), which is the current[LTS version](https://nodejs.org/en/about/previous-releases).
26
26
27
27
If you already have a different version of `node` installed, but don't want to update globally, you can install [a package called `nvm`](https://github.com/nvm-sh/nvm), which will allow you to easily switch `node` versions. Once you have `nvm` installed (or if you already have it installed), you can run `nvm use` in the main directory and it will install the proper version of `node`.
28
28
@@ -43,10 +43,10 @@ corepack prepare
43
43
44
44
#### Setting up your .env
45
45
46
-
Use the following command to create a local `.env` file. Then open the new file (`.env`) and adjust any settings that are needed.
46
+
Use the following command to create a local `.env.local` file. Then open the new file (`.env.local`) and adjust any settings that are needed.
47
47
48
48
```shell
49
-
cp .env.example .env
49
+
cp .env.local.example .env.local
50
50
```
51
51
52
52
#### Installing package dependencies
@@ -88,5 +88,6 @@ Use ctrl-c to quit the server when you're done.
0 commit comments