22 lines
497 B
Markdown
22 lines
497 B
Markdown
v2 architecture draft: see `docs/architecture-v2.org`
|
|
|
|
default v2 app run:
|
|
```
|
|
python3 ./youdis.py
|
|
```
|
|
|
|
direct component runs still work for testing:
|
|
```
|
|
python3 -m uvicorn youdis.main:app --host 127.0.0.1 --port 8000
|
|
python3 -m youdis.adapters.discord
|
|
```
|
|
|
|
build and run the docker container
|
|
```
|
|
DISCORD_BOT_TOKEN = [discord bot token]
|
|
-v [downloads]:/downloads
|
|
-v [config]:/config
|
|
```
|
|
config contains data to persist across container updates, i.e., unraid appdata,
|
|
such as yt-dlp's archive.txt
|