Skip to content

Customizing your frontend

David Reed edited this page Feb 5, 2023 · 4 revisions

Customizing your frontend

The static files (frontend) is generated in the Ultraviolet-Static repository. You can follow the instructions within the repository to modify the frontend here.

Walkthrough

Follow the instructions for deployment found in other pages of the wiki. The following steps assume you are in a directory containing the content of Ultraviolet-App.

  1. Clone Ultraviolet-Static
git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git
cd Ultraviolet-Static
  1. Install dependencies
npm install
  1. Make your changes

You may go back to this step anytime, however we recommend you make your changes before applying them.

The content inside Ultraviolet-Static/public/ may be modified. This directory contains assets and HTML webpages.

  1. Install the modified module

You should only have to do this once. Any future changes to Ultraviolet-Static/public/ will immediately take effect.

Enter the Ultraviolet-App directory:

cd ..

Install the new module:

npm install ./Ultraviolet-Static
  1. Start
npm start