hoprnet / hopr-admin

HOPR Admin app which can be used to manage a HOPRd node via its API
https://hopr-admin.vercel.app
2 stars 7 forks source link

Available Scripts

In the project directory, you can run:

yarn

Install all the dependencies.

yarn dev

Runs the app in the development mode.\ Open http://localhost:5173 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

yarn build

Builds the Node Admin. Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

yarn build-hub

Builds the Staking Hub. Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

docker build --platform linux/amd64 -t europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin .

Builds the Node Admin docker image with the name node-admin.

docker run -d -p 4677:4677 --name hopr-admin --platform linux/amd64 europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin

Runs the Node Admin container exposing the 4677 port. To access the Node Admin you should go to http://localhost:4677/

Deployment process

To contribute to this repository you will need to create a pull request. More information about the existing automated workflows can be found in GitHub Actions