-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Customizing your frontend
David Reed edited this page Feb 5, 2023
·
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-App.
- Clone Ultraviolet-Static
git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git
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-App directory:
cd ..
Install the new module:
npm install ./Ultraviolet-Static
- Start
npm start