Giter Site home page Giter Site logo

ashmoran / openbazaar-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openbazaar/openbazaar-server

0.0 2.0 0.0 1.87 MB

Server daemon for communication between client and OpenBazaar network

License: MIT License

Makefile 0.06% Python 96.05% C 0.29% Protocol Buffer 3.48% Shell 0.12%

openbazaar-server's Introduction

OpenBazaar Server

Build Status Coverage Status Slack Status

This repo contains the OpenBazaar networking daemon that can be used to access the p2p network. It establishes connections and maintains a Kademlia style DHT. Rest and websocket APIs are available for clients to communicate with the daemon.

Install

Pre-built installers which bundle the client and server components can be found here.

Depending on your system configuration you may need to install some additional dependencies. You can find more detailed, OS specific, instructions here.

To install just this server:

sudo pip install -r requirements.txt

Usage

python openbazaard.py start --help
usage: python openbazaard.py start [<args>]

Start the OpenBazaar server

optional arguments:
  -h, --help            show this help message and exit
  -d, --daemon          run the server in the background as a daemon
  -t, --testnet         use the test network
  -l LOGLEVEL, --loglevel LOGLEVEL
                        set the logging level [debug, info, warning, error,
                        critical]
  -p PORT, --port PORT  set the network port
  -a ALLOWIP, --allowip ALLOWIP
                        only allow api connections from this ip
  -r RESTAPIPORT, --restapiport RESTAPIPORT
                        set the rest api port
  -w WEBSOCKETPORT, --websocketport WEBSOCKETPORT
                        set the websocket api port
  -b HEARTBEATPORT, --heartbeatport HEARTBEATPORT
                        set the heartbeat port
  --pidfile PIDFILE     name of the pid file

Docker

Set Username and Password

nano ./docker-compose.yml

Build and run

docker-compose up

Backup

All relevant data will go to

./data

SSL Support

  • Generate certificate as described here

  • Place the server.crt and server.key into

./ssl
  • Enable SSL in
./docker-compose.yml

License

OpenBazaar Server is licensed under the MIT License.

openbazaar-server's People

Contributors

ashmoran avatar b3ql avatar benhc123 avatar cpacia avatar ddustin avatar drwasho avatar eiabea avatar foxcarlos avatar grigio avatar gubatron avatar hoffmabc avatar jamesdwilson avatar jjeffryes avatar jondale avatar jsindy avatar justindrake avatar melpomene avatar noflag avatar renelvon avatar rmisio avatar saltduck avatar tcharding avatar tyler-smith avatar unsystemizer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.