Before starting, you need to install Node.js on your computer.
- Open a terminal in the repository folder.
- Run
npm install
to install the required packages. - Run
npm run dev
to host the site locally. Any changes you make in code with be shown live in the browser.
- Place new firmware files within the
public/firmware
folder. - Firmware is held in the
availableFirmware
object withinsrc/App.vue
. Simply add a new object withinavailableFirmware
, updating itstitle
andurl
properties to match the new firmware file.
availableFirmware: {
'microPython_0_2_0': {
title: 'microPython 0.2.0',
url: 'firmware/SITCore-SC13-MP-Firmware-v0.2.0.glb',
isGlb: true,
image: null,
},
},
- Once you're happy with the changes,
CTRL
+C
to kill the process that runs the local site. - Run
npm run build
to compile and build thedocs
files. - Using git, add the new
docs
files and remove the old ones. - Commit the changes and push.