Commits

anatoly techtonik  committed b813f28

Quick hack, non-crossplatform hg mirror sync.

  • Participants

Comments (0)

Files changed (1)

+--[001: Quick Hack: Linux Way]--
+0. setup new account
+1. create shell script
+    cd /home/account/mirror
+    hg pull
+    hg push
+2. setup SSH key for new account
+    ssh-keygen -t rsa -b 4096
+   - add public part to push site
+3. do the first clone
+    mkdir /home/account/mirror
+    hg clone https://.../... .
+    hg sum
+4. setup cron job
+   - make sure using full path to shell script
+   - hardcode sync every 15 minutes
+