update README
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 20s

This commit is contained in:
0d0 2025-02-24 19:59:55 +01:00
parent e9040bbf2b
commit bb548befc5

View file

@ -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