Skip to content

hoprnet/homebrew-hoprd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-hoprd

Homebrew package for hoprd

Usage

brew tap hoprnet/hoprd
brew install hoprd@3.0.0-rc.1

Development

Those instructions are only at development time of the Formula

Install

  • Build hoprd for your architecture and place it in a temp folder
  • Build hopli for your architecture and place it in a temp folder
  • Change the url of the artifacts at ./Formula/hoprd.rb to use the temporary artifact url "file://#{ENV['HOME']}/Documents/github/hoprnet/dist/bin/hoprd-aarch64-darwin"
brew install --verbose --debug ./Formula/hoprd@3.0.0-rc.1.rb
brew reinstall --verbose --debug hoprd@3.0.0-rc.1
brew postinstall hoprd@3.0.0-rc.1
  • Edit manually $(brew --prefix)/etc/hoprd/hoprd.env
  • brew services start hoprd

Uninstall

brew uninstall --force hoprd@3.0.0-rc.1
  • Clear cache
rm -rf $(brew --cache)/*hopr*
rm -rf $(brew --prefix)/Cellar/hoprd
rm -f $(brew --prefix)/bin/hopr{d,li}
rm -rf $(brew --prefix)/etc/hoprd
rm -rf $(brew --prefix)/var/lib/hoprd
rm -f $(brew --prefix)/var/log/hoprd.log
rm -f $(brew --prefix)/var/homebrew/linked/hoprd
brew cleanup -s

About

Homebrew package for hoprd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages