From 4b41a1f286898561c0443beb90347c8b362ad571 Mon Sep 17 00:00:00 2001 From: Laura Date: Fri, 5 Jul 2019 17:08:10 +0200 Subject: [PATCH] Update README --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4af1538..0e6beeb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ ## repomgr -This software allows you to automatically manage any archlinux repo with git repos as source. \ No newline at end of file +This software allows you to automatically manage any archlinux repo with git repos as source. + +### Usage: + +First, initialize your repository using `repomgr /path/to/data init /path/to/repo repo` + +Next, add a package. `repomgr /path/to/data add ` + +Then, build the package and update the repo. `repomgr /path/to/data update ` + +Now you can list your packages using `repomgr /path/to/data list` + +If you want to automatically update your packages, set up a cronjob for `repomgr /path/to/data update-all`. + +You can also remove packages using `repomgr /path/to/data remove ` + +In case you want a webinterface to view the status of the builds, check out `repomgr /path/to/data daemon`. +You can change the port with the environment variable `ASPNETCORE_URLS`. For example, to change it to port 5777, +use `ASPNETCORE_URLS='http://*:5777' repomgr /path/to/data daemon` \ No newline at end of file