Update README.md

This commit is contained in:
netravnen 2019-01-04 10:51:48 +00:00
parent 8438575854
commit a5c17a8116

View file

@ -5,12 +5,12 @@
1. Verify curl, git, bash, and php is installed.
2. `mkdir -p ~/dn42/`.
3. `cd ~/dn42/`.
4. `git clone https://git.dn42.us/netravnen/dn42-roagen.git`.
5. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json.git dn42-roagen/roa`.
4. `git clone https://git.dn42.us/netravnen/dn42-roagen.git roagen`.
5. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json.git roagen/roa`.
6. `git clone https://git.dn42.us/dn42/registry.git`.
6. `git -C registry/ remote rename origin upstream && git -C registry/ fetch --all`
7. Verify everything work by running `cd ~/dn42/dn42-roagen/ && ./update.sh`.
8. In $USER crontab file put `44 */3 * * * cd ~/dn42/dn42-roagen/ && ./update.sh`. Finetune time between runs to your liking.
7. Verify everything work by running `cd ~/dn42/roagen/ && ./update.sh`.
8. In $USER crontab file put `44 */3 * * * cd ~/dn42/roagen/ && ./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.