The following works on both MacOS and Linux. If you are on Windows, set up wsl and then follow along
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install --lts
nvm use --lts
corepack enable
git clone https://github.com/ELIXIR-NO/elixir-no-webpages.git
cd elixir-no-webpages
pnpm i
pnpm dev
You should now be able to open your browser and navigate the the URL of the dev server.
From this point, any change you make to your files will be immediately reflected in your browser.
In rare ocations, adding files to the project (images, static content etc) might not be seen by the dev server.
If you suspect such an event, simply kill the server with ctrl + c
and restart it.