Skip to content

Commit

Permalink
improve "install code from PR"
Browse files Browse the repository at this point in the history
  • Loading branch information
simonc56 authored Nov 12, 2022
1 parent e1515c2 commit cb92899
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Replace `838` with a pull request you intend to install.
plextraktsync self-update --pr 838
```

It will create new binary `plextraktsync@838` for that pull request.
It will create new binary `plextraktsync@838` for that pull request. You need to run this binary instead of `plextraktsync`.

To pull new changes for the same pull request:

Expand Down Expand Up @@ -141,7 +141,9 @@ uninstalled PlexTraktSync@984! ✨ 🌟 ✨
$
```

If you need to do the same in docker container, you should first prepare the container with:
If you need to do the same in docker container, you should:

͏ ͏ ͏ 1. first prepare the container with:

```
$ docker-compose run --rm --entrypoint sh plextraktsync
Expand All @@ -151,6 +153,10 @@ $ docker-compose run --rm --entrypoint sh plextraktsync
/app # /root/.local/bin/plextraktsync self-update --pr 969
/app # /root/.local/bin/plextraktsync@969 info
```
͏͏͏͏ ͏ ͏ 2. then run the script with:
```
/app # /root/.local/bin/plextraktsync@969
```

## Git: setup pre-commit

Expand Down

0 comments on commit cb92899

Please sign in to comment.