This repository was archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up local deployment
Joshua Baskaran edited this page May 2, 2023
·
1 revision
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 | bashor
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | zshnvm install --lts
nvm use --ltscorepack enablegit clone https://github.com/ELIXIR-NO/elixir-no-webpages.git
cd elixir-no-webpages
pnpm ipnpm devYou 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.