Skip to content

Commit

Permalink
Small updates to README
Browse files Browse the repository at this point in the history
  • Loading branch information
JKrag committed Sep 7, 2021
1 parent c3055db commit 62d8854
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,23 @@ Maybe slightly in order of importance - but not necessarily order of implementat
* [Private message support, just for the fun of it](https://github.com/JKrag/GitSlick/issues/4)
* [Support running in split-screen terminal](https://github.com/JKrag/GitSlick/issues/5)
* [Add a run-mode where chat takes place under the hood in an existing repo](https://github.com/JKrag/GitSlick/issues/6)
* I had the idea that it might be a good idea with a small safety check to avoid running chat.sh in the wrong repo. My initial thought was that it could be as simple as checking for the existance of a possibly empty `.gitslick` file in the root of the repo, and aborting f this doesn't exist. But writing this, I realise that it would either have to be an untracked file, or it would have to be copied over and added to each new branch. maybe it could look for this file in the .git folder? More thinking needed.
* I had the idea that it might be a good idea with a small safety check to avoid running chat.sh in the wrong repo. My initial thought was that it could be as simple as checking for the existance of a possibly empty `.gitslick` file in the root of the repo, and aborting if this doesn't exist. But writing this, I realise that it would either have to be an untracked file, or it would have to be copied over and added to each new branch. maybe it could look for this file in the .git folder? More thinking needed.

## Docker

In case you want chat without cloning the chat repo locally, and without leaving too many traces on your computer,
you acn run the whoe thing in Docker.
you can run the whole thing in Docker.

### Build image

```
```bash
docker build -t gitslick .
```

### Run image

```
```bash
docker run --name tempchat --rm -it -v ~/.ssh:/tmp/.ssh:ro gitslick -r [email protected]:JKrag/demo.git -e "[email protected]" -n "Whale Hail"
```

The options `-e` & `-n` (email & name) are documented in the `entrypoint.sh` script being run by the container.

0 comments on commit 62d8854

Please sign in to comment.