-
Notifications
You must be signed in to change notification settings - Fork 170
Raspberry Pi Install Raspbian
These steps will prepare your Raspberry Pi / Raspbian server for Open Bazaar.
Downloaded RASPBIAN JESSIE LITE : https://www.raspberrypi.org/downloads/raspbian/
- Install the .img file on an SD card
- Boot the Raspberry Pi from SD card
- Login:
- user: pi
- pass: raspberry
sudo raspi-config
- Expand File System
- Change User Password
- Change this to something only you know
- Internationalization Options
- Change Keyboard Layout
- Generic 105-key (Intl) PC
- English (US) # important for users in USA
- continue with other default options
- Finish
- Reboot: Yes
Many of these steps are easier if you can copy and paste directly into the terminal. Making an SSH connection to your Raspberry Pi from your desktop makes this possible.
Here's some info on how to do it: https://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
Many of these steps will take a very long time, be patient. It's a lot to download and install, but once it's done, it's smooth sailing.
sudo apt-get update
sudo apt-get install -y git python-dev libffi-dev libssl-dev
sudo easy_install pip
git clone https://github.com/OpenBazaar/OpenBazaar-Server.git
cd OpenBazaar-Server/
sudo pip install -r requirements.txt
sudo pip install -r test_requirements.txt
python openbazaard.py start -t -d -a 0.0.0.0
It's preferred that this is done from the client UI:
Account Icon >> Admin Panel >> System >> Turn Server Off
https://github.com/OpenBazaar/OpenBazaar-Client
These instructions do not cover the client setup, perhaps they will later.
It's trying to connect to a "local" server. And this server is not local, it's on a separate computer ( your raspberry pi ). It should be on the same network though.
Earlier, you SSH'ed into the raspberry pi. To do this you needed it's IP address, you're going to need that now to setup the connection from the client.
Now that the localhost connection has timed out.
- Click the avatar at the top right of the app.
- Click 'Admin Panel'
- Change Server
- Enter in the full path for the server api, using the IP address you used earlier. Ex:
http://192.168.1.148:18469/api/v1/
- Enter in the full path for the server api, using the IP address you used earlier. Ex:
- Close the Admin Panel to establish connection