diff --git a/Dockerfile b/Dockerfile index cf77b3b..287a857 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ COPY build.sh /build.sh RUN bash /build.sh -ENTRYPOINT deluged && deluge-web --fork && bash +ENTRYPOINT cp /premiere-deluge-plugin/dist/*.egg ~/.config/deluge/plugins/ && deluged && deluge-web --fork && bash diff --git a/README.md b/README.md index c255282..e5bc671 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ To read more about what premiere mode does, see below. #### How to install 1. Install Docker (instructions here ) 2. Run `docker build . -t premiere-deluge` in the same directory as this repo's Dockerfile -3. Run `docker run --network host -it premiere-deluge` or `docker run -p 8112:8112 -it premiere-deluge` +3. Run `docker run --network host -it premiere-deluge` 4. You should be able to connect to the web UI running locally on port 8112 5. Default password is "deluge" 6. Right click torrents and select "Premiere Mode" to put them in premiere mode @@ -20,3 +20,9 @@ as available and peers may download it. This continues on until the last piece. This plugin requires a forked version of libtorrent that supports setting pieces into premiere mode. + +#### How do I make my downloads and config persistent? +You need to mount directories on your host machine into your Docker container. Try adding `-v /path/to/your/downloads:/root/Downloads` and `-v /path/to/your/.config:/root/.config` to your `docker run` command to mount these. + +#### Can I run this without Docker? +Yes, the build.sh script sets up everything inside the Docker container and should work outside of one as well (some paths may need to be changed of course). diff --git a/build.sh b/build.sh index 0002542..9108261 100755 --- a/build.sh +++ b/build.sh @@ -34,6 +34,8 @@ popd popd pushd deluge +git tag -d deluge-2.0.0 +git tag deluge-2.0.0 pip install . popd