From c88d274e672a948474805a15e65230cbe7173859 Mon Sep 17 00:00:00 2001 From: Nathaniel Rook Date: Tue, 26 Dec 2023 14:59:48 -0500 Subject: [PATCH] Add .nvmrc. nvm is a piece of software which manages NodeJS and NPM versions. An .nvmrc specifies the version of Node to use. This is not really required; we are not actually using a Node webserver to host the site, just to build it. But it's convenient to have around in case you already are using nvm for other things. --- .nvmrc | 2 ++ README.md | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..0295f3b --- /dev/null +++ b/.nvmrc @@ -0,0 +1,2 @@ +20.10.0 + diff --git a/README.md b/README.md index 3c5f5a3..cbe00aa 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ The blog itself is hosted on GitHub pages. # How do I make changes? -First, install 11ty (with the package.json included). Then, change -the content directory. You can run `npm run build -- --serve` to preview -your changes locally. +First, install nodejs and npm; you can use nvm (see the .nvmrc) but you can +also just directly install NodeJS 20 if you like. Next, install 11ty (with +the package.json included). Then, change the content directory. You can +run `npm run build -- --serve` to preview your changes locally. # Note on license