Skip to content
Snippets Groups Projects
Verified Commit 3102736b authored by Kevin Morris's avatar Kevin Morris
Browse files

update documentation


Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent ce7c4475
No related branches found
No related tags found
No related merge requests found
......@@ -186,3 +186,10 @@ and call it below:
And edit the configuration file to enabled redis caching
(`[options] cache = redis`).
11) Start `aurweb.service`.
An example systemd unit has been included at `examples/aurweb.service`.
This unit can be used to manage the aurweb asgi backend. By default,
it is configured to use `poetry` as the `aur` user; this should be
configured as needed.
......@@ -111,3 +111,21 @@ receive.autogc to false. Remember to periodically run `git gc` manually or
setup a maintenance script which initiates the garbage collection if you follow
this advice. For gc.pruneExpire, we recommend "3.months.ago", such that commits
that became unreachable by TU intervention are kept for a while.
Script Wrappers (poetry)
------------------------
When aurweb is installed within a poetry virtualenv, commands need
to be prefixed with `poetry run`. A few wrapper scripts are provided
which automate this, as long as the executing user's `$HOME` is
aurweb's project root.
- `examples/aurweb-git-auth.sh`
- `examples/aurweb-git-serve.sh`
- `examples/aurweb-git-update.sh`
These scripts should be installed somewhere on the aurweb host. The
following options need to be updated to the installed wrappers:
- `[auth] git-serve-cmd`
- `[serve] git-update-cmd`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment