From ccd4ccdcc4226fec335b14657c90c3fb7bab1727 Mon Sep 17 00:00:00 2001 From: 0d0 <0d0acre@esiliati.org> Date: Sat, 15 Feb 2025 00:25:10 +0100 Subject: [PATCH] Add env to readme and example --- .env.example | 4 +++- README.md | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 97bc0a5..d954442 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,3 @@ -YTDLP_PATH=./yt-dlp \ No newline at end of file +YTDLP_PATH=./yt-dlp +ORIGIN=http://example.com +HOST=0.0.0.0 \ No newline at end of file diff --git a/README.md b/README.md index 49e7f38..6b0e6c8 100644 --- a/README.md +++ b/README.md @@ -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 3. Then `cd` into it and run: `npm ci` and `npm run build` 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 - Run `npm install` (you have to have node installed)