no building
This commit is contained in:
parent
3553414e3a
commit
77c8c13bef
2 changed files with 1 additions and 45 deletions
43
README.md
43
README.md
|
|
@ -4,47 +4,6 @@
|
||||||
|
|
||||||
Static files/assets used to spin up an Ultraviolet website.
|
Static files/assets used to spin up an Ultraviolet website.
|
||||||
|
|
||||||
## Packaging
|
|
||||||
|
|
||||||
1. Clone the repository
|
|
||||||
|
|
||||||
```sh
|
|
||||||
git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git
|
|
||||||
cd Ultraviolet-Static
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Install dependencies
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Make your changes...
|
|
||||||
4. Produce the `dist/` directory and import the Ultraviolet scripts
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
5. Package for NPM to produce `ultraviolet-static.X.X.X.tar.gz` file
|
|
||||||
|
|
||||||
```sh
|
|
||||||
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)
|
||||||
|
|
||||||
1. Follow installation steps until you need to run `npm install`
|
See [Ultraviolet-App's Wiki](https://github.com/titaniumnetwork-dev/Ultraviolet-App/wiki/Customizing-your-frontend).
|
||||||
2. Install the produced Ultraviolet-Static tgz (upload to Discord, Github, etc...) (see [Packaging](#packaging))
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm install https://github.com/titaniumnetwork-dev/Ultraviolet-Static/releases/download/v1.0.0/ultraviolet-static-1.0.0.tgz
|
|
||||||
# OR
|
|
||||||
npm install ../path/to/ultraviolet-static-1.0.0.tgz
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Continue instructions...
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm start
|
|
||||||
```
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,6 @@
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
|
||||||
"build": "node scripts/build.js"
|
|
||||||
},
|
|
||||||
"files": [
|
"files": [
|
||||||
"public",
|
"public",
|
||||||
"lib"
|
"lib"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue