From 7bcb084f8f8dc3cd02519b72449aec452b1a0c0b Mon Sep 17 00:00:00 2001 From: Christoffer Date: Thu, 27 Dec 2018 22:44:32 +0000 Subject: [PATCH] Doc: Update readme instructions --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index da99a16..b52b3a6 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ This repository is for testing purpose before deploying code into [master reposi 3. `cd ~/dn42/`. 4. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json-test.git`. 5. `git clone https://git.dn42.us/dn42/registry.git`. -6. Verify everything work by running `cd ~/dn42/dn42-rpki-export.json-test/ && php roagen.php && php rfc8416.php`. -7. In $USER crontab file put `44 */3 * * * cd ~/dn42/dn42-rpki-export.json-test/ && php roagen.php && php rfc8416.php`. Finetune time between runs to your liking. +6. `git -C registry/ remote rename origin upstream && git -C registry/ fetch --all` +7. Verify everything work by running `cd ~/dn42/dn42-rpki-export.json-test/ && ./update.sh`. +8. In $USER crontab file put `44 */3 * * * cd ~/dn42/dn42-rpki-export.json-test/ && ./update.sh`. Finetune time between runs to your liking. NB: The roagen.php script is written with the paths to the dn42 registry folder being both git repositories reside in the same parent folder.