diff --git a/README.md b/README.md index 0950b3a..da3b4b5 100644 --- a/README.md +++ b/README.md @@ -62,18 +62,18 @@ Requires Node.js 20+. git clone https://git.hannu.be/dev-hannu/disc-golf-tracker.git cd disc-golf-tracker npm install -npm run dev +npm run build +npm run preview # serves the built app at http://localhost:4173 ``` -Open [http://localhost:5173](http://localhost:5173). +`npm run dev` is only needed if you're actively editing the code (gives you hot reload). --- -## Build & deploy +## Deploy ```bash npm run build # outputs to dist/ -npm run preview # preview the production build locally ``` The `dist/` folder is plain static files — drop it on any web server or static host (Caddy, Nginx, Netlify, Vercel, GitHub Pages, etc.).