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. - Done.
Note: Building locally is no longer necessary.
- Commit changes and push to Github.
- Github Actions will compile the JavaScript, build and deploy the page.
- Done.
- Place new firmware files within the
public/firmware
folder. - Firmware is now held in the
public/firmware.json
file. Simply add a new object, updating its properties (name
,versions
,boards
).versions
is an array of objects. Each object has anid
,name
andurl
property.id
is used to sort descending. The highestid
will be considered the latest firmware.name
is self-explanatory.url
is the path to the file.
boards
is an array of objects. Each object has aname
andid
property.name
is self-explanatory.id
is the character assigned to each board. E.g.P
stands for BrainPad Pulse.
- Commit changes and push to Github.
- Github Actions will compile the JavaScript, build and deploy the page.
- Done.
- Go to
public/demos.json
. - Simply edit or add a new object with
label
andcode
properties. - Commit changes and push to Github.
- Github Actions will compile the JavaScript, build and deploy the page.
- Done.