1
0
Fork 0

Updated README.md with install instructions

This commit is contained in:
netravnen 2018-12-10 18:23:39 +01:00 committed by Christoffer
parent df1dce40d7
commit 7ab9602ee7
1 changed files with 6 additions and 4 deletions

View File

@ -3,9 +3,11 @@
### 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.
2. `mkdir -p ~/dn42/`.
3. `cd ~/dn42/`.
4. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json`.
5. `git clone https://git.dn42.us/dn42/registry`.
6. Verify everything work by running `cd ~/dn42/dn42-rpki-export.json/ && php roagen.php`.
7. 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.