Add deploy section
All checks were successful
Bump deps (only minor versions) / update-dependencies (push) Successful in 21s

This commit is contained in:
0d0 2025-02-15 00:21:31 +01:00
parent f1bb8f6d50
commit 7f423e378a
2 changed files with 17 additions and 3 deletions

View file

@ -1,4 +1,4 @@
## scaricatore
# scaricatore
![version](https://git.pweapon.org/odo/dl.emersa.it/badges/release.svg 'version')
![status](https://git.pweapon.org/odo/dl.emersa.it/badges/workflows/ci.yaml/badge.svg 'status')
@ -7,6 +7,20 @@
It's a svelte(kit) frontend that uses `yt-dlp` to let the user download things from the web.
## How to Deploy
### 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: `node build/`
### Docker (currently not supported)
### Development: getting started
- Clone the repo
@ -17,7 +31,7 @@ It's a svelte(kit) frontend that uses `yt-dlp` to let the user download things f
- Run `npm run dev`
- Now you can write code
### Missing
## To do:
- Proper logs (I don't like them, not useful for production build)
- Containerfile for container build

View file

@ -9,4 +9,4 @@
set -e
npm run lint
npm run format