From bb548befc548cd9af72565a2c63bae85776a4ba6 Mon Sep 17 00:00:00 2001 From: 0d0 <0d0acre@esiliati.org> Date: Mon, 24 Feb 2025 19:59:55 +0100 Subject: [PATCH] update README --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3e1e323..1035f53 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,13 @@ It's a svelte(kit) frontend that uses `yt-dlp` to let the user download things f ## How to Deploy -### Node +### using node -0. Install nodejs -1. Download the latest release from the [releases](https://git.pweapon.org/odo/dl.emersa.it/releases) page. -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 it: `node .` -6. You can also try to configure the systemd unit file inside the `configurations` folder. +- Install nodejs (if on debian, use `extrepo` for adding the official nodesource repository) +- Create a new directory ($PROJECT_ROOT) +- run `scripts/install.sh "${PROJECT_ROOT}"` + +Edit `scripts/deploy_example.sh` if you need to deploy `dl.emersa.it` to some server using `SSH`. ### Docker