X-Git-Url: https://plomlompom.com/repos/?p=redo-blog;a=blobdiff_plain;f=README.md;h=420c15164d490f65ba405ce25d6fa265adcf970e;hp=f036e86f9e6d2a31ecf48ce7866199d40a591c40;hb=82afe4835238fb9b3c817dc54089d52ed5152ee4;hpb=db90b1dd62031a9b1f05d21b73a47335bc35892c diff --git a/README.md b/README.md index f036e86..420c151 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ called `blog`: cat << EOF > blog.git/hooks/post-update #!/bin/sh BLOGDIR=~/blog - GIT_WORK_TREE=$BLOGDIR git checkout -f - cd $BLOGDIR + GIT_WORK_TREE=\$BLOGDIR git checkout -f + cd \$BLOGDIR redo EOF chmod a+x blog.git/hooks/post-update @@ -62,14 +62,14 @@ Enable management of `~/blog` via redo-blog: Link to the `public` subdirectory from wherever your web server expects your public web content to sit: - link -s ~/blog/public /var/www/html/blog + ln -s ~/blog/public /var/www/html/blog -Client-side, do this: +Client-side, do this (obviously, replace server and username): cd ~ git init blog cd blog - git remote add origin ssh://user@example.org:~/blog.git + git remote add origin ssh://user@example.org:/home/user/blog.git mkdir metadata echo 'https://example.org/blog/' > metadata/url git add metadata/url @@ -81,6 +81,3 @@ bugs Don't create a index.rst or index.md in the redo-managed directory, that will break things. - -Running redo without a single blog entry source file (.md or .rst) in the -directory will also break things.