You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,32 @@ Static files/assets used to spin up an Ultraviolet website.
7
7
## Install in [Ultraviolet-App](https://github.com/titaniumnetwork-dev/Ultraviolet-App.git)
8
8
9
9
See [Ultraviolet-App's Wiki](https://github.com/titaniumnetwork-dev/Ultraviolet-App/wiki/Customizing-your-frontend).
10
+
11
+
## Usage outside of Ultraviolet-App/Static hosting
12
+
13
+
### Ultraviolet scripts
14
+
15
+
This repository doesn't serve any Ultraviolet scripts. It has a `uv.config.js` to show how Ultraviolet is intended to work with this demo. Ultraviolet-App automatically merges our `uv.config.js` with the remaining UV scripts (`uv.sw.js`, `uv.client.js`, etc). **Some work has to be done in order to make this repository standalone.**
16
+
17
+
Here's how to get the remaining scripts for the purpose of hosting this repository:
18
+
19
+
1. Go to the [Ultraviolet releases](https://github.com/titaniumnetwork-dev/Ultraviolet/releases/)
20
+
2. Find the latest release
21
+
3. Download the latest tarball (eg. `titaniumnetwork-dev-ultraviolet-x.x.x.tgz`)
22
+
4. Open the tarball, navigate to the `dist` directory, and extract all the scripts with the exception of `uv.config.js` (we already have a configuration) into the `public/uv/` directory in this repository.
23
+
You may see `.map` files. These are used for debugging. If they're too large, you can omit them without any errors.
24
+
25
+
### Bare server
26
+
27
+
You will need to point your Bare server to an external one/a different directory (if you're using reverse proxy software).
28
+
29
+
1. Open `public/uv/config.js`
30
+
2. Find the `bare` field
31
+
3. Replace `"/bare/"` with the address of your Bare server
32
+
A Bare server address hosts the Bare server. For example, to use the Holy Unblocker Bare server at https://uv.holyubofficial.net/ you would update your config to look like this:
33
+
34
+
```js
35
+
bare:"https://uv.holyubofficial.net/",
36
+
```
37
+
38
+
You can open Bare server addresses in your browser. You should see something containing fields like the project description, memory usage, supported versions, and the runtime/language.
0 commit comments