|
|
README: improve a bit the usage examples - stagit-gopher - static git page generator for gopher |
|
|
 |
git clone git://git.codemadness.org/stagit-gopher (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit 6cae0784a5747be0b48c8ab17555c12ea7b14df0 |
|
|
 |
parent d02b5f776a63c8b808baa548b2cd574439bed547 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
Date: Tue, 18 May 2021 10:44:36 +0200 |
|
|
|
|
|
|
|
README: improve a bit the usage examples |
|
|
|
|
|
|
|
Similar to the commit for stagit by quinq, thanks! |
|
|
|
|
|
|
|
Diffstat: |
|
|
|
M README | 11 ++++++++--- |
|
|
|
|
|
|
|
1 file changed, 8 insertions(+), 3 deletions(-) |
|
|
|
--- |
|
|
 |
diff --git a/README b/README |
|
|
|
@@ -13,12 +13,17 @@ Usage |
|
|
|
|
|
|
|
Make files per repository: |
|
|
|
|
|
|
|
- $ mkdir -p gphdir && cd gphdir |
|
|
|
- $ stagit-gopher path-to-repo |
|
|
|
+ $ mkdir -p gphroot/gphrepo1 && cd gphroot/gphrepo1 |
|
|
|
+ $ stagit-gopher path/to/gitrepo1 |
|
|
|
+ repeat for other repositories |
|
|
|
+ $ ... |
|
|
|
|
|
|
|
Make index file for repositories: |
|
|
|
|
|
|
|
- $ stagit-gopher-index repodir1 repodir2 repodir3 > index.gph |
|
|
|
+ $ cd gphroot |
|
|
|
+ $ stagit-gopher-index path/to/gitrepo1 \ |
|
|
|
+ path/to/gitrepo2 \ |
|
|
|
+ path/to/gitrepo3 > index.gph |
|
|
|
|
|
|
|
|
|
|
|
Build and install |
|