Skip to content

Instantly share code, notes, and snippets.

@drwasho
Last active October 5, 2016 04:38
Show Gist options
  • Save drwasho/c8b3b7af2aa41f789cd14ef3d820c3cd to your computer and use it in GitHub Desktop.
Save drwasho/c8b3b7af2aa41f789cd14ef3d820c3cd to your computer and use it in GitHub Desktop.
Bash script to setup and install OpenBazaar on a VPS via miniprovistor
#!/bin/bash
# Bash script to setup and install OpenBazaar on a VPS via miniprovistor
sudo apt-get update -y && sudo apt-get upgrade -y
useradd -m obuser
echo obuser:password | chpasswd # The password is replaced by the user during install
echo "obuser ALL=(ALL:ALL) ALL" >> /etc/sudoers
sudo apt-get install -y git build-essential libssl-dev libffi-dev python-dev openssl python-pip libsodium-dev autoconf libzmq-dev pkg-config libtool
sudo pip install cryptography
(cd /home/obuser/; sudo git clone https://github.com/OpenBazaar/OpenBazaar-Server.git)
(cd /home/obuser/OpenBazaar-Server; sudo pip install -r requirements.txt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment