Giter Site home page Giter Site logo

hopr-sh's Introduction

HOPR SH

Setup and install HOPRd using the script

Ubuntu or Debian

Type following commands into your terminal, if you are using a VPS, log in into your VPS.

$ sudo apt install -y curl
$ curl https://raw.githubusercontent.com/hoprnet/hopr-sh/master/setup-hoprd.sh --output setup-hoprd.sh
$ chmod +x setup-hoprd.sh
$ ./setup-hoprd.sh

macOS

Type following commands into your terminal, if you are using a VPS, log in into your VPS.

In case you have not installed it already, install the XCode CLI Tools via:

$ sudo xcode-select --install

Also check whether you have installed Homebrew - the OSX package manager - and install it if it is not installed yet.

$ brew install curl
$ curl https://raw.githubusercontent.com/hoprnet/hopr-sh/master/setup-hoprd-macos.sh --output setup-hoprd.sh
$ chmod +x setup-hoprd.sh
$ ./setup-hoprd.sh

Running HOPRd

Check out our docs on how to run HOPRd.

Tested on

OS version works
ubuntu 16.04.1 ✔️
debian 4.19 ✔️
macOS (x86) 10.15.7 ✔️
macOS (ARM) 10.15.7 ✔️

hopr-sh's People

Contributors

0xjjpa avatar jaguaras avatar kitschbent avatar nionis avatar scbuergel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hopr-sh's Issues

libp2p:mplex:stream command not found.

When i try running DEBUG=hopr*,libp2p:mplex:stream hoprd --init --rest --admin 2>&1 | tee ~/hoprd-logs.txt
i get output: libp2p:mplex:stream command not found.
OS ubuntu server 20.04.1 LTS.

Simplify the script

Right now we have two scripts for both macOS and linux, we can probably have this in a single script.

needs better `db` folder management

At present, this script just looks for a previously named db folder, renames it to preserve this folder, etc... Its very messy, was a quick solution, and creates problems when run multiple times (2+). Or if the person manually starts renaming folders in certain ways, which also happened.

Ideally, this part of this script needs addressing specifically or we need some sort of less-crude db folder management. If only to get us from testnet to testnet in a better, more reliable manner (especially currently as we have a string between Dec's and this upcoming to address and need to keep wallet addresses, ideally)

install-uni.sh

I'm hesitant to just address it myself as its hacking a hacked job. It works, but its not pretty.

Error in Ubuntu 16.04 x64

Hi,

I am trying to setup a node in Ubuntu and I got this error:

  • @hoprnet/[email protected]
    updated 1 package in 34.602s
    /usr/lib/node_modules/@hoprnet/hoprd/node_modules/@hoprnet/hopr-connect/lib/index.js:61
    this.relayPeerIds ??= new Set();
    ^^^

SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (/usr/lib/node_modules/@hoprnet/hoprd/node_modules/@hoprnet/hopr-core/lib/index.js:22:25)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.