Skip to content

Customizing your frontend

David Reed edited this page Oct 1, 2022 · 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-Node.

  1. Clone Ultraviolet-Static
$ git clone https://github.com/titaniumnetwork-development/Ultraviolet-Static.git
> Cloning into Ultraviolet-Static...
$ 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-Node directory:

$ cd ..

Install the new module:

$ npm install ./Ultraviolet-Static
  1. Start
$ npm start
Clone this wiki locally