This commit is contained in:
David Reed 2023-02-05 13:25:43 -05:00
parent dfd5d87a64
commit 3553414e3a
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -9,28 +9,27 @@ Static files/assets used to spin up an Ultraviolet website.
1. Clone the repository 1. Clone the repository
```sh ```sh
$ git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git
> Cloning into Ultraviolet-Static... cd Ultraviolet-Static
$ cd Ultraviolet-Static
``` ```
2. Install dependencies 2. Install dependencies
```sh ```sh
$ npm install npm install
``` ```
3. Make your changes... 3. Make your changes...
4. Produce the `dist/` directory and import the Ultraviolet scripts 4. Produce the `dist/` directory and import the Ultraviolet scripts
```sh ```sh
$ npm run build npm run build
``` ```
5. Package for NPM to produce `ultraviolet-static.X.X.X.tar.gz` file 5. Package for NPM to produce `ultraviolet-static.X.X.X.tar.gz` file
```sh ```sh
$ npm pack npm pack
``` ```
## Install in [Ultraviolet-App](https://github.com/titaniumnetwork-dev/Ultraviolet-App.git) ## Install in [Ultraviolet-App](https://github.com/titaniumnetwork-dev/Ultraviolet-App.git)
@ -39,13 +38,13 @@ $ npm pack
2. Install the produced Ultraviolet-Static tgz (upload to Discord, Github, etc...) (see [Packaging](#packaging)) 2. Install the produced Ultraviolet-Static tgz (upload to Discord, Github, etc...) (see [Packaging](#packaging))
```sh ```sh
$ npm install https://github.com/titaniumnetwork-dev/Ultraviolet-Static/releases/download/v1.0.0/ultraviolet-static-1.0.0.tgz npm install https://github.com/titaniumnetwork-dev/Ultraviolet-Static/releases/download/v1.0.0/ultraviolet-static-1.0.0.tgz
# OR # OR
$ npm install ../path/to/ultraviolet-static-1.0.0.tgz npm install ../path/to/ultraviolet-static-1.0.0.tgz
``` ```
3. Continue instructions... 3. Continue instructions...
```sh ```sh
$ npm start npm start
``` ```