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:
@@ -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
|
||||
|
||||
+2
-1
@@ -17,4 +17,5 @@ set -e
|
||||
|
||||
docker compose -f "$DEMO_TEMP_DIR/docker-compose.yml" run --rm managarr &&\
|
||||
docker compose -f "$DEMO_TEMP_DIR/docker-compose.yml" down &&\
|
||||
docker image rm darkalex17/managarr
|
||||
docker image rm darkalex17/managarr &&\
|
||||
rm -rf /tmp/managarr-demo.sh
|
||||
|
||||
Reference in New Issue
Block a user