Coder Social home page Coder Social logo

dust's Introduction

Dust

A daemon for disseminating events over a peer-to-peer network.

Install

Requirements

sudo apt-get install chicken-bin libsodium-dev liblmdb-dev libminiupnpc-dev

Currently (until https://bugs.call-cc.org/ticket/1352 is resolved), a patched version of the unix-sockets egg is required. Please fetch the source for this egg by doing:

chicken-install -r unix-sockets

Then apply the patch from the ticket and, in the unix-sockets directory, do:

chicken-install -s

Build and install

chicken-install -s

OpenBSD

On OpenBSD 6.1, I install these packages:

doas pkg_add chicken sodium miniupnpc

Then install LMDB from source:

git clone git://github.com/LMDB/lmdb
cd lmdb
git checkout LMDB_0.9.19
make
# "make install" doesn't work for me as the expected binaries don't all build
doas cp liblmdb.so /usr/local/lib/
doas cp liblmdb.a /usr/local/lib/
doas cp lmdb.h /usr/local/include/

Then build and install dust:

cd dust
CPATH=/usr/local/include doas chicken-install

Note: LMDB has to be used in MDB_WRITEMAP mode on OpenBSD due to the lack of a unified buffer cache. LMDB environments will reserve their full mapsize instead of growing as entries are added and nested transactions will not be supported.

Run tests

Install test dependencies.

chicken-install -s test test-generative data-generators

Run the unit tests.

csi -s tests/run.scm

dust's People

Stargazers

 avatar Keith Alexander avatar

Watchers

James Cloos 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.