Single-page website for the SocRob@Home team, built with Nuxt 3 and Vuetify, and hosted on GitHub Pages.
Install Git and nvm, then open a new terminal. The project specifies Node.js 20 in .nvmrc; npm is included with Node.js.
git clone https://github.com/socrob/socrob.github.io.git
cd socrob.github.io
nvm install
nvm use
npm ciIf you already have a local clone, skip cloning and run the remaining commands from its directory. If its remote still points to the old repository, update it:
git remote set-url origin https://github.com/socrob/socrob.github.io.gitThe configuration uses baseURL: '/' for https://socrob.github.io/. The same settings work locally and for deployment; no configuration switching is needed.
From the project directory, run:
nvm use
npm run devOpen http://localhost:3000/. Changes appear automatically when you save; press Ctrl+C to stop the server.
- Edit each website section in
components/. - Edit styles in
assets/. - Store images and other static files in
public/.
Note: image paths previously caused deployment issues when rendering images with v-for. The existing components use individual image statements as a workaround; check images after changing this approach.
Generate the static site:
npm run generateTo publish the generated files from .output/public to the gh-pages branch, run:
npm run deployPublishing requires GitHub write access to the repository. In Settings → Pages, the publishing source should be the gh-pages branch and / (root) folder. Allow a few minutes for the website to update; check the repository's Actions for deployment logs.
Original deployment references:
- TODO