golemfactory / homebrew-golem

Golem is creating a global market for computing power.
https://golem.network
39 stars 10 forks source link
ethereum golem homebrew macos p2p

homebrew-golem

Homebrew and Caskroom Tap for Golem.

Requirements

Installation

Type in terminal:

brew tap homebrew/cask
brew tap golemfactory/golem
brew install --cask golem

# docker-machine-driver-xhyve package needs root owner and a suid bit

sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Please keep in mind that Golem depends on many packages. Therefore, the installation varies on the computer. Some of the packages may already be installed on your computer and the others have to be linked. A typical example is the docker-machine package, which provides brew link docker-machine. After linking, you must restart Golem installation.

docker-machine-driver-xhyve package needs root owner and uid, therfore you will be asked for root password during installation.

Running Golem

Type golem into Spotlight or select golem from Applications.

Golem is still under development and is not signed with a valid signature. The first time you run Golem, your Mac OS X system will surely shout out that it cannot be opened because the software is from an undefined developer. To work around the problem please double click the application from Applications folder in Finder together with control key. Subsequently, click open.

Reinstalling

brew tap golemfactory/golem
brew reinstall golem
brew reinstall --cask golem

Upgrading

brew update && brew upgrade

Removing

brew uninstall --cask golem-mainnet-launcher
brew uninstall --cask golem
brew uninstall golem

Info and Versions

Print information about installed Golem (including dependencies) with:

brew info golem

List available versions with:

ls -l /usr/local/Cellar/golem

If you have other versions installed, you can switch with:

brew switch golem <version>

Troubleshooting