Updated README.md
This commit is contained in:
parent
155fc86ac9
commit
a125e598d0
14
README.md
14
README.md
|
@ -1,18 +1,16 @@
|
||||||
## dn42-rpki-export.json-test
|
## dn42-roagen
|
||||||
|
|
||||||
This repository is for testing purpose before deploying code into [master repository](https://git.dn42.us/netravnen/dn42-rpki-export.json)
|
|
||||||
|
|
||||||
### Requirements for running
|
### Requirements for running
|
||||||
|
|
||||||
1. Verify curl, git, bash, and php is installed.
|
1. Verify curl, git, bash, and php is installed.
|
||||||
2. `mkdir -p ~/dn42/`.
|
2. `mkdir -p ~/dn42/`.
|
||||||
3. `cd ~/dn42/`.
|
3. `cd ~/dn42/`.
|
||||||
4. `git clone https://git.dn42.us/netravnen/dn42-roagen-test.git`.
|
4. `git clone https://git.dn42.us/netravnen/dn42-roagen.git`.
|
||||||
5. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json-test.git dn42-roagen-test/roa`.
|
5. `git clone https://git.dn42.us/netravnen/dn42-rpki-export.json.git dn42-roagen/roa`.
|
||||||
6. `git clone https://git.dn42.us/dn42/registry.git`.
|
6. `git clone https://git.dn42.us/dn42/registry.git`.
|
||||||
6. `git -C registry/ remote rename origin upstream && git -C registry/ fetch --all`
|
6. `git -C registry/ remote rename origin upstream && git -C registry/ fetch --all`
|
||||||
7. Verify everything work by running `cd ~/dn42/dn42-roagen-test/ && ./update.sh`.
|
7. Verify everything work by running `cd ~/dn42/dn42-roagen/ && ./update.sh`.
|
||||||
8. In $USER crontab file put `44 */3 * * * cd ~/dn42/dn42-roagen-test/ && ./update.sh`. Finetune time between runs to your liking.
|
8. In $USER crontab file put `44 */3 * * * cd ~/dn42/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.
|
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.
|
||||||
|
|
||||||
|
@ -49,7 +47,7 @@ $ tree -L 3 ~/dn42/
|
||||||
| |-- install-commit-hook
|
| |-- install-commit-hook
|
||||||
| `-- utils
|
| `-- utils
|
||||||
| `-- schema-check
|
| `-- schema-check
|
||||||
`-- roagen-test
|
`-- roagen
|
||||||
|-- README.md
|
|-- README.md
|
||||||
|-- lib
|
|-- lib
|
||||||
| |-- define.php
|
| |-- define.php
|
||||||
|
|
Loading…
Reference in a new issue