From f76db09acf908b2b1f1e07fd2c9e206dedc13b1f Mon Sep 17 00:00:00 2001 From: Aljaz Ceru Date: Fri, 9 Feb 2024 15:25:40 +0000 Subject: [PATCH] documentation update for docker --- Readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Readme.md b/Readme.md index b774027..a88e2b2 100644 --- a/Readme.md +++ b/Readme.md @@ -165,3 +165,15 @@ Supported authentication methods are `native` and `nip98`. The `nip98` authentic * `git fetch pear` 2. From there she can do * `git diff pear/feat/david` or `git pull pear feat/david` ... merge to master and push to `pear` + + +## Migrate existing public repository to gitpear +Docker image automatically clones the repository and exposes it over http and pear. + +Example: +``` +git clone https://github.com/dzdidi/gitpear.git +cd gitpear +docker build -t gitpear . +docker run -it -p 80:80 -e REPO_URL=https://github.com/dzdidi/repo.git gitpear +``` \ No newline at end of file