diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c44e7a2..061c546 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ where `` is your GitHub username. Here you're copying the contents of your firstcontributions.github.io repository on GitHub to your computer. ## Running The Project -You should have [yarn](https://yarnpkg.com/en/docs/install) and [node](https://nodejs.org/en/download/) to run the project locally. +You should have [Node.js](https://nodejs.org/en/download/) installed to run the project locally. Change to the repository directory on your computer (if you are not already there): ``` @@ -31,14 +31,23 @@ cd firstcontributions.github.io Then install the required Dependencies using: ``` - yarn install +npm install +# or +pnpm install ``` +If `pnpm install` warns that build scripts were ignored (for example, `esbuild` or `sharp`), run: +``` +pnpm approve-builds +``` +and then re-run `pnpm install`. + *If you run into a dependencies issue, try removing `node_modules`.* After installation, run: ``` -yarn start +npm run dev +# or +pnpm dev ``` -Now you can open your cloned project at ` http://localhost:3000/ -` +Now you can open your cloned project at `http://localhost:4321/` (or the URL printed in the terminal).