Updated the README and script to not pipe directly to sh but to save the script and run it so that it can properly start a TTY session

This commit is contained in:
2024-03-16 17:46:40 -06:00
parent 6fa002b153
commit 0214d68f7e
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -4,7 +4,7 @@ A demo repository with a basic HTPC configuration for demonstration and testing
## One-Command Run
To clone the repo and run the demo all in one go, the following command will download the [managarr-demo](./managarr-demo.sh) script and run it:
```shell
curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh | sh
curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh > /tmp/managarr-demo.sh && bash /tmp/managarr-demo.sh
```
**Note**: This script will only work on systems with `bash` installed.
@@ -23,7 +23,8 @@ This demo will download a handful of docker images. To clean up after this demo,
docker image rm darkalex17/managarr &&\
docker image rm lscr.io/linuxserver/radarr &&\
docker image rm lscr.io/linuxserver/prowlarr &&\
rm -rf /tmp/managarr-demo
rm -rf /tmp/managarr-demo &&\
rm -rf /tmp/managarr-demo.sh
```
## Limitations