Personal Website showcasing skills in web design using HTML, CSS, JavaScript and React.
These instructions assume you have Node.js (18+) and npm installed. The project uses Vite for development.
- Install dependencies
npm install- Start the development server
npm run devOpen the URL printed by Vite (usually http://localhost:5173) to view the site locally.
- Build for production
npm run build- Preview the production build locally
npm run preview- Deploy to GitHub Pages
This project already includes a deploy script that uses gh-pages and will build before publishing.
npm run deploynpm run dev— start Vite dev servernpm run build— build production files intodist/npm run preview— locally preview the production buildnpm run lint— run ESLintnpm run deploy— build and publishdist/to GitHub Pages (usesgh-pages)
- If the dev server reports a port in use, set
PORTbefore running (example for macOS/Linux):
PORT=3000 npm run dev- If you don't have
gh-pagesinstalled globally, thedeployscript uses the local devDependency and should work afternpm install.