From df1dce40d7e4cb86966a672eda7eef15a4b08a53 Mon Sep 17 00:00:00 2001 From: Christoffer Date: Mon, 10 Dec 2018 18:18:37 +0100 Subject: [PATCH] Updated README.md with install instructions --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fc2743..a82eee9 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -# dn42-rpki-export.json +## dn42-rpki-export.json + +### Requirements for running + +1. Verify curl, git, bash, and php is installed. +2. Clone repository `https://git.dn42.us/netravnen/dn42-rpki-export.json` to `~/dn42/dn42-rpki-export.json/`. +3. Clone repository `https://git.dn42.us/dn42/registry` to folder `~/dn42/registry/`. +4. Verify everything work by running `cd ~/dn42/dn42-rpki-export.json/ && php roagen.php`. +5. In $USER crontab file put `14 */3 * * * cd ~/dn42/dn42-rpki-export.json/ && php roagen.php`. Finetune time between runs to your liking. + +NB: The roagen.php script is written with the paths to the dn42 registry folder being they reside in the same parent folder.