Skip to content

Instantly share code, notes, and snippets.

@insanity54
Last active May 8, 2016 00:03
Show Gist options
  • Save insanity54/38d50a70fab461de6beb8a77ca1ec338 to your computer and use it in GitHub Desktop.
Save insanity54/38d50a70fab461de6beb8a77ca1ec338 to your computer and use it in GitHub Desktop.
OpenBazaar on Ubuntu 14.04
#!/bin/bash
locale="en_US.UTF-8"
sudo locale-gen "$locale"
sudo dpkg-reconfigure locales
sudo apt-get update && sudo apt-get -y upgrade
audo apt-get -y install software-properties-common
sudo apt-get -y install git
sudo apt-get -y install build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev
#sudo echo "deb http://us.archive.ubuntu.com/ubuntu trusty main universe" | sudo tee -a /etc/apt/sources.list
#sudo apt-get -y install libsodium-dev
sudo apt-add-repository -y ppa:chris-lea/libsodium
sudo apt-get update
sudo apt-get -f -y install
sudo pip install cryptography
sudo apt-get -y install autoconf pkg-config libtool
sudo git clone https://github.com/zeromq/libzmq
(cd $HOME/libzmq; sudo ./autogen.sh && sudo ./configure && sudo make -j 4)
(cd $HOME/libzmq; sudo make check && sudo make install && sudo ldconfig)
sudo git clone https://github.com/OpenBazaar/OpenBazaar-Server.git
(cd /home/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