29 lines
576 B
Markdown
29 lines
576 B
Markdown
# ip lol
|
|
|
|
## Installation
|
|
|
|
```
|
|
git clone https://git.gay/h/iplol
|
|
cd iplol
|
|
npm i
|
|
mkdir inputs
|
|
```
|
|
|
|
Place videos to use in the ``inputs`` directory.
|
|
|
|
## Building assets
|
|
|
|
Run ``npm run build`` with the IPLOL_HOSTNAMES environment variable set to the hostnames you'll be using.
|
|
If you skip this step, they'll be generated when requested, which adds significant latency.
|
|
|
|
The IPLOL_HOSTNAMES environment variable can be a comma separated list, if you will be using multiple hostnames.
|
|
|
|
```
|
|
IPLOL_HOSTNAMES=example.com,example2.com npm run build
|
|
```
|
|
|
|
## Usage
|
|
|
|
```
|
|
npm run start
|
|
``` |