-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Customizing your frontend
David Reed edited this page Oct 1, 2022
·
4 revisions
The static files (frontend) is generated in the Ultraviolet-Static repository. You can follow the instructions within the repository to modify the frontend here.
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.
- Clone Ultraviolet-Static
$ git clone https://github.com/titaniumnetwork-development/Ultraviolet-Static.git
> Cloning into Ultraviolet-Static...
$ cd Ultraviolet-Static
- Install dependencies
$ npm install
- 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.
- 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
- Start
$ npm start