# Building

## Production Build

The user interface included with the source code must compile. You can compile it yourself.

## Requirements to build:

* Node.js

## Installing Node.js:

* Download the LTS version of Node.js.
* Go through the install and make sure you install all of the features.
* Run `node --version` in cmd and make sure that it gives you the version number. If it doesn't then you didn't install it correctly.

{% embed url="<https://www.nodejs.org/>" %}

## Building the UI:

* cd into the web directory of gusti-loadscreen
* In your cmd type `npm i` and it will start downloading the node modules.
* After it's done downloading node modules you can run `npm run build` to build the UI.

{% hint style="info" %}
**HOT RELOADS**

When working in the browser you can run npm run dev, which supports hot reloads meaning that you will see your changes after saving your file.
{% endhint %}
