Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install OpenBazaar on a RaspiBlitz, install OpenBazaar client and migrate the store contents
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install build-essential git -y
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=/usr/local/gocode
export PATH=$PATH:$GOPATH/bin
go get
cd /usr/local/gocode/src/
go run openbazaard.go init
# Generating Ed25519 keypair...Done
# 2019/03/09 10:57:29 Initializing OpenBazaar node at /home/admin/.openbazaar
# OpenBazaar repo initialized at /home/admin/.openbazaar
go run openbazaard.go setapicreds
# Enter username:
# Enter a veerrrry strong password:
# Confirm your password:
cd $HOME/.openbazaar
sed -i -- 's/' config
cd /usr/local/gocode/src/
sudo ufw allow 4002
go run openbazaard.go start &
#on the RaspiBlitz
go run openbazaard.go stop
rm -r /home/admin/.openbazaar
# on the linux desktop:
echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"
scp -r ~/.openbazaar admin@$RASPIBLITZ_IP:/home/admin/
# Install openbazaar client (
git clone
npm install
npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment