This tutorial will walk you through getting Rawflood setup on your server.

This guide was tested on, and should work as-is, for Ubuntu 18.04+. It should also work for the most recent Debian-based linux servers.

One thing to note is that you will have to run this guide as root or have sudo privileges in order to access the necessary ports for this guide.

The steps below will get you through getting your own node running.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

sudo apt update -y

sudo apt install build-essential -y

sudo apt install postgresql postgresql-contrib -y

sudo -u postgres psql -c 'create database rawflood;'

sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'thissearchenginehasthebestpasswords';"

sudo apt install nodejs -y

sudo apt install npm -y

sudo npm install -g forever

sudo npm install -g --save npx

sudo git clone https://github.com/rodkeys/rawflood

cd rawflood/frontend

npm install

cd ../backend

npm install

npx sequelize db:migrate

forever start server.js

sudo chmod 777 ./openbazaard

nohup ./openbazaard start &

Alright your server should be running if you go to https://ipaddress and ignore the SSL certificate warnings you should see your explorer running.

**Something to note, if you change out the postgres pw be sure to update backend/config/config.json with your new pw.

The next step is to point your domain at your server and switch out the dummy SSL certs in backend/sslcerts with your own.

Be sure to change the domain attribute in backend/config/config.json to be your domain instead of https://rawflood.com.

Once you include your SSL certs, you can add your store to the OpenBazaar client by clicking the add search provider button and putting in https://domain/api/search

And this should be what your engine should look like on the OB client once it’s setup:

Enjoy!