OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client

  • 所有者: OpenBazaar/OpenBazaar-Server
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Note: This project is no longer maintained. Please see version 2 at https://github.com/OpenBazaar/openbazaar-go


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

cp .env.sample .env
nano ./.env

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/OpenBazaar-Server
主编程语言Python
编程语言Python (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2015-06-16 13:02:04
推送于2019-05-14 23:02:06
最后一次提交2019-05-14 17:02:06
发布数25
最新版本名称v0.2.6 (发布于 2017-05-05 12:53:56)
第一版名称v0.1.0-rc1 (发布于 )
用户参与
星数606
关注者数75
派生数171
提交数1.2k
已启用问题?
问题数357
打开的问题数131
拉请求数113
打开的拉请求数13
关闭的拉请求数71
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?