Data Management Framework with a Distributed Database.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
include
priv
src
test
.gitignore
LICENSE
Makefile
NOTICE
README.md
pkg.vars.config
rebar.config
rebar.config.script
rebar3

README.md

pundun

Join the chat at https://gitter.im/pundunlabs/pundun

Data Management Framework with a Distributed Database.

Building Pundun Framework

One may like to change configuration parameters before release. Please see below for pundun configuration.

dev-mode
$ git clone https://github.com/pundunlabs/pundun.git
$ cd pundun
$ rebar3 release
deployable
$ rebar3 as prod tar
deployable with erts included
$ rebar3 as target tar

Configuring Pundun Binary Protocol Server

Edit 'PROD/etc/pundun.yaml';

where PROD is '\_build/RELEASE/rel/pundun' and

  RELEASE is default | prod | target

if above commands are applied.

Modify 'pbp_server_options' parameter.

SSL certificate and key files should be defined here.

To generate self signed certificate files, one may use below commands.

$ cd <PROD>/lib/pundun<VERSION>/priv/
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 1095 -nodes

Initial configuration of the sytem and starting the node

$ cd <PROD>/bin/
$ ./pundun start

Read local logs from 'PROD/log/local.pundun.log' file.

Connecting to Command Line Interface

To connect local pundun node's CLI that is created as above.

$ ssh admin@localhost -p 8884

Or ssh to remote node that listens on a configured ip and port.

Configuring SSH Daemon

Edit 'PROD/etc/pundun.yaml'.

Store any public key in 'authorized_keys' file at the configured 'system_dir'.