🏡 index : ~doyle/rgit.git

author jordan <jordan@doyle.la> 2023-08-30 16:39:00.0 +00:00:00
committer GitHub <noreply@github.com> 2023-08-30 16:39:00.0 +00:00:00
commit
23f3805bc6daa9ccc164202a9ba80725119a990a [patch]
tree
d00df1008568bf5a0bdbfca6cd3f10feec3eb8e6
parent
1a7e6d8fb63afc763e3655d567d5fa96da6b3e59
parent
881aa3e0a63a35adcd0043f08f97dfa99cc8a7be
download
23f3805bc6daa9ccc164202a9ba80725119a990a.tar.gz

Merge pull request #24 from stappersg/readme_cleanup

Wrapped long lines.

Diff

 README.md | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 8d0ee64..7117fc4 100644
--- a/README.md
+++ b/README.md
@@ -76,8 +76,8 @@ cargo build --release

#### NixOS

Running rgit on NixOS is extremely simple, simply import the module into your `flake.nix` and use the
provided service:
Running rgit on NixOS is extremely simple, simply import the module into your `flake.nix`
and use the provided service:

```nix
{
@@ -111,7 +111,8 @@ provided service:

#### Docker

Running rgit in Docker is also simple, just mount the directory containing your repositories to `/git`:
Running rgit in Docker is also simple, just mount the directory containing your repositories to
`/git`:

```bash
docker run --mount type=bind,source=/path/to/my-repos,target=/git \
@@ -119,13 +120,18 @@ docker run --mount type=bind,source=/path/to/my-repos,target=/git \
  -it ghcr.io/w4/rgit:main
```

**Note**: Take care to replace `$UID` and `$GID` with the UID and GID of the user that owns the directory containing your repositories or there will be errors! [See here]https://linuxhandbook.com/uid-linux/ to learn how to find the UID of a user.
**Note**: Take care to replace `$UID` and `$GID` with the UID and GID of the user
that owns the directory containing your repositories or there will be errors! [See
here](https://linuxhandbook.com/uid-linux/) to learn how to find the UID of a user.

#### Docker Compose

An example `docker-compose.yml` is provided for those who prefer using Compose. To configure the UID and GID, the user is specified in `docker-compose.override.yml`. 
An example `docker-compose.yml` is provided for those who prefer using Compose. To configure
the UID and GID, the user is specified in `docker-compose.override.yml`.

An example override file has been has been provided with the repository. To use it, remove the `.example` extension from `docker-compose.override.yml.example`, and adjust the UID and GID to match the user that owns the directory containing your repositories.
An example override file has been has been provided with the repository. To use it, remove the
`.example` extension from `docker-compose.override.yml.example`, and adjust the UID and GID to
match the user that owns the directory containing your repositories.

Afterwards, bring up the container with `docker-compose up` to make sure everything works.