Add env to readme and example
All checks were successful
Bump deps (only minor versions) / update-dependencies (push) Successful in 24s

This commit is contained in:
0d0 2025-02-15 00:25:10 +01:00
parent 7f423e378a
commit ccd4ccdcc4
2 changed files with 8 additions and 4 deletions

View file

@ -1 +1,3 @@
YTDLP_PATH=./yt-dlp YTDLP_PATH=./yt-dlp
ORIGIN=http://example.com
HOST=0.0.0.0

View file

@ -16,12 +16,14 @@ It's a svelte(kit) frontend that uses `yt-dlp` to let the user download things f
2. Unpack and decompress (`tar xvf build.tar.gz`) the release 2. Unpack and decompress (`tar xvf build.tar.gz`) the release
3. Then `cd` into it and run: `npm ci` and `npm run build` 3. Then `cd` into it and run: `npm ci` and `npm run build`
4. Copy `.env.example` to `.env`, and add needed variables 4. Copy `.env.example` to `.env`, and add needed variables
5. Run: `node build/` 5. Run it: `node .`
6. You can also try to configure the systemd unit file inside the `configurations` folder.
### Docker (currently not supported) ### Docker
(currently not supported)
### Development: getting started ## Development: getting started
- Clone the repo - Clone the repo
- Run `npm install` (you have to have node installed) - Run `npm install` (you have to have node installed)