- * Upload and edit ikiwiki.setup.sample from the docs directory
- * As the new user, create two new git repos
- mkdir monkeysphere.git; cd monkeysphere.git; git init --bare; cd ../
- git clone monkeysphere.git # this will create a second git repo called monkeysphere
- * Change the mode of monkeysphere.git/hooks/post-receive to 755
- chmod 755 monkesphere.git/hooks/post-receive
- * Edit the file so that it executes the post-receive hook ikiwiki
- generates (as you specified in the ikiwiki.setup file)
-
-The steps to be taken on the mirror site should now be complete. The
-following steps should be taken by a Monkeysphere admin user:
-
- * Add a new dns record for SERVERNAME.monkeysphere.info.
- * Test the ssh connection by logging in as webmaster@george.riseup.net
- * Add the new server as a remote on
- webmaster@george.riseup.net:monkeysphere.git
- cd ~/monkeysphere.git
- git add remote SERVERNAME USER@SERVERNAME.monkeysphere.info:/path/to/repo
- * Test:
- git push SERVERNAME
-
-
-
+
+Add `webmaster@george`'s public key to this user's
+`~/.ssh/authorized_keys` file, restricting that user to rsync (modify
+path to web directory as needed):
+
+ command="/usr/bin/rsync --server -vlogDtprz --delete . web/",no-pty,no-agent-forwarding,no-port-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0SCD6tAh7g1yyuelIm5zyh5OFX89NNbpNzyp+BxXNxMc/C1BS9SN5KlNDT30WdDbw3X0St0dBBC69TZWYbSUn4+/6BNmYpLH2orhedBv4w2jBLmtVEfnMWa3a11CnIagMEkEz7rBIWpl76WOqzoueQbAAa/7GziVmv+2qdjcDFxHluO+VL/+gEw8BqZc587oiDYkIw3oBnOLaxUWDtaMFKiL8sgdBmPxzc8PgHxL5ezVDJExw5krR4FK7hG7KpBOlSwKQPFy2pPhHSb1ZuFJmp2kr2wfJ0RO7By5s/GbrkJbnGoiJ5W0fUC9YoI82U3svC5saowvoSo19yToJW4QUw== webmaster@george
+
+## Admin steps to take to enable the configuration ##
+
+Add a new dns record for SERVERNAME.monkeysphere.info.
+
+If the mirror server is not participating in the monkeysphere, add the
+server to webmaster's known host file.
+
+Add the new server to `webmaster@george:~/mirrors` in the format:
+
+ username@server:directory
+
+Test by manually running the git post-receive hook as
+`webmaster@george`:
+
+ ~/monkeysphere.git/hooks/post-receive
+
+Add a new `A` record into the `web.monkeysphere.info` round robin.