Skip to content

pokt-network/homebrew-pocketd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-pocket

A homebrew tap formula for the pocket binary

Getting Started

These instructions will get you a copy of pocketd on your local machine.

Installation

Install Homebrew

Follow the official instructions here.

MacOS

To install Homebrew on Mac:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Linux

To install Homebrew on Linux:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

You might need to run the following commands afterwards:

echo >> /home/${USER}/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/${USER}/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt-get install build-essential

Install Pocketd

To install pocketd using brew, run the following commands:

brew tap pokt-network/poktroll
brew install pocketd

Check Pocketd

Make sure that the installation was successful by running the following command:

pocketd --help

You can check the latest version by running:

pocketd version

Troubleshooting

Am I using the brew installed verion of pocketd?

You can check which binary you're using by one of the following commands:

On macOS, we expect something similar to the following:

whereis pocketd
# /opt/homebrew/bin/pocketd
which pocketd
# pocketd: /opt/homebrew/bin/pocketd

On Linux, we expect something similar to the following:

whereis pocketd
# pocketd: /home/linuxbrew/.linuxbrew/bin/pocketd
which pocketd
# /home/linuxbrew/.linuxbrew/bin/pocketd

Homebrew Formula Development

Update Formula

To update the formula, simply run the following command with the new version of the binary:

For example, to update to version RC-0.12.0:

make tap_update_version

Testing the Formula locally

Installing pocketd:

make tap_test_install

Reinstalling pocketd:

make tap_test_reinstall

About

A homebrew tap formula for the poktroll binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •