diplonat/README.md

15 lines
304 B
Markdown
Raw Normal View History

2020-05-08 08:57:10 +00:00
Diplonat
========
```bash
cargo build
2020-05-08 08:58:04 +00:00
consul agent -dev # in a separate terminal
2020-05-08 08:57:10 +00:00
2020-05-08 08:58:04 +00:00
# adapt following values to your configuratio
2020-05-08 08:57:10 +00:00
export DIPLONAT_PRIVATE_IP="192.168.0.18"
export DIPLONAT_REFRESH_TIME="60"
export DIPLONAT_EXPIRATION_TIME="300"
export DIPLONAT_CONSUL_NODE_NAME="lheureduthe"
cargo run
```