[OCaml] Mobile-friendly clone of cgit.
docs Document the tmp/ directory requirement
Opening a store requires tmp/ inside the git directory. A read-only service user cannot create it, so the deployment guide now says to create it once per repository.
deploy/README.org
@@ -20,6 +20,18 @@
20
20
usermod -aG git ogit # if repos are group-readable by 'git'
21
21
#+end_src
22
22
23
Added:
Note: the Git library requires a =tmp/= directory inside each
24
Added:
repository's git directory to open a store, so ogit tries to create
25
Added:
it on each visit. When the =ogit= user has no write access — the
26
Added:
group-readable setup above — that attempt fails, and a repository
27
Added:
without =tmp/= cannot be opened at all. Create the directory once
28
Added:
per repository:
29
Added:
30
Added:
#+begin_src sh
31
Added:
mkdir /srv/git/repo.git/tmp
32
Added:
chown git:git /srv/git/repo.git/tmp
33
Added:
#+end_src
34
Added:
23
35
** 2. Install the binary
24
36
25
37
#+begin_src sh