-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from hoprnet/robertkiel/fix-url
Various enhancements
- Loading branch information
Showing
9 changed files
with
52 additions
and
5,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
# DAppNodeSDK release directories | ||
/build_*/ | ||
/build/ | ||
/.direnv/ | ||
/node_modules/ | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
# Nix OS | ||
/.direnv | ||
|
||
# Node.js | ||
/node_modules/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Repository structure | ||
|
||
|
||
There are two repositories: | ||
|
||
- official: https://github.com/dappnode/DAppNodePackage-Hopr | ||
|
@@ -16,5 +15,49 @@ Tha development happens on the internal repository and it has two branches: | |
|
||
PRs are only meant to be made from the `internal` repo's `main` branch to the `official` repo's `main` branch. | ||
|
||
# Development process | ||
|
||
Clone the repo | ||
|
||
```sh | ||
git clone [email protected]:hoprnet/DAppNodePackage-Hopr.git | ||
``` | ||
|
||
Build a package with (requires Node.js) | ||
|
||
```sh | ||
npx @dappnode/dappnodesdk build | ||
``` | ||
|
||
This 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 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. | ||
|
||
![howto](bypass_signature_check.png) | ||
|
||
# Useful links | ||
|
||
- [Official documentation](https://docs.dappnode.io/docs/dev) | ||
- [http://my.dappnode/public-packages](http://my.dappnode/public-packages) lists installed public packages | ||
- [http://my.dappnode/package-manifest/hopr.public.dappnode.eth](http://my.dappnode/package-manifest/hopr.public.dappnode.eth) gets the internal view of the package metadata | ||
|
||
When running with the [DMS package](http://my.dappnode/installer/dnp/dms.dnp.dappnode.eth) (Grafana, Loki, Prometheus): | ||
|
||
- [http://prometheus.dms.dappnode:9090/targets](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](http://my.dappnode/package-manifest/hopr.public.dappnode.eth) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.