Add deploy section
All checks were successful
Bump deps (only minor versions) / update-dependencies (push) Successful in 21s
All checks were successful
Bump deps (only minor versions) / update-dependencies (push) Successful in 21s
This commit is contained in:
parent
f1bb8f6d50
commit
7f423e378a
2 changed files with 17 additions and 3 deletions
18
README.md
18
README.md
|
@ -1,4 +1,4 @@
|
|||
## scaricatore
|
||||
# scaricatore
|
||||
|
||||

|
||||

|
||||
|
@ -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
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
set -e
|
||||
|
||||
npm run lint
|
||||
npm run format
|
||||
|
|
Loading…
Add table
Reference in a new issue