There are three repositories:
- official: https://github.com/dappnode/DAppNodePackage-Hopr
- internal: https://github.com/hoprnet/DAppNodePackage-Hopr
- testnet: https://github.com/dappnode/DAppNodePackage-Hopr-Testnet
The internal is a fork of the official one. The testnet repo is configured specifically to use our rotsee testnet
The development happens on the internal repository and it has two branches:
developwhich contains the edge version, not meant for publishingmainwhich is supposed to be in-sync with themainbranch on theofficialrepo
PRs are only meant to be made from the internal repo's main branch to the official repo's main branch.
Clone the repo
git clone git@github.com:hoprnet/DAppNodePackage-Hopr.gitBuild a package with (requires Node.js)
npx @dappnode/dappnodesdk buildThis should create output similar to
✔ Verify connection
✔ Verify connection
✔ Create release dir
✔ Validate files
✔ Copy files
✔ Build architecture linux/amd64
✔ Upload release to IPFS node
✔ Save upload results
DNP (DAppNode Package) built and uploaded
Release hash : /ipfs/QmdZHJPrTJQZRr9gJKhQKXVSVSRf3jdBj6LqbZuZ8MNSWF
http://my.dappnode/installer/public/%2Fipfs%2FQmdZHJPrTJQZRr9gJKhQKXVSVSRf3jdBj6LqbZuZ8MNSWF
When upgrading the Grafana dashboards, make sure:
- the file is called
hopr-public-grafana-dashboard.json - the
uidproperty is non-empty and starts withhopr-public-
When connected to a DAppnode system, follow the link and install the package. If it is a development build, make sure to disable signature verification before installing the package.
- Official documentation
- http://my.dappnode/public-packages lists installed public packages
- http://my.dappnode/package-manifest/hopr.public.dappnode.eth gets the internal view of the package metadata
When running with the DMS package (Grafana, Loki, Prometheus):
- http://prometheus.dms.dappnode:9090/targets lists Prometheus targets. Make sure the package's target is available
Automatic import of Prometheus targets is only available if prometheusTargets and automatic import of Grafana dashboards is only available if grafanaDashboards is present in the observed package manifest.
