add to git-site instructions

This commit is contained in:
Eric House 2024-03-28 17:10:02 -07:00
parent 2d33856b6a
commit fd2f94f569

View file

@ -7,18 +7,20 @@ To set up a repo against which
will work
First, ssh to eehouse.org and cd to /var/www/html/gitrepos, then
# sudo apt install fcgiwrap
# mkdir xwords4.git
# cd xwords4.git
# git init --bare --shared
# git init --bare
Then, locally (inside this repo):
# git remote add eehouse-public ssh://eehouse.org/var/www/html/gitrepos/xwords4.git
and
# git push --tags -u eehouse-public main
And then, again on eehouse.org:
And then, back on eehouse.org:
# cd /var/www/html/gitrepos/xwords4.git
# git symbolic-ref HEAD refs/heads/main
And of course, the file git-site in this directory needs to be
installed.
installed. Right now it conflicts with other server blocks using the
same server_name; I need to fix that somehow.