Last active
October 5, 2016 04:38
-
-
Save drwasho/c8b3b7af2aa41f789cd14ef3d820c3cd to your computer and use it in GitHub Desktop.
Bash script to setup and install OpenBazaar on a VPS via miniprovistor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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