dbin
easy datomic/bin commands
Last updated 5 years ago by orlin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dbin -g
SYNC missed versions from official npm registry.

dbin -- datomic/bin Build Status

Helps run Datomic servers with configuration.

Why

To test libs, such as datomiki, and run Datomic servers - first for development, later on production.

Install

NPM

This dbin package should install datomic-free as well.

Running the console with datomic-free is possible, after a manual download.

Running datomic-pro servers works, after a manual download + custom config.

Use

cli

dbin help

lib

var d = require("dbin").use({"rest": {"port": 88}}).run("transactor").run("rest")
console.log(d.cfg)

config

Here is an example for setting up datomic-pro:

{
  "homeDir": false,
  "edition": "pro",
  "located": "datomic/pro",
  "version": "0.9.5052",
  "transactor":
    { "properties": "../../config/dev-transactor.cfg" }
}

Datomic is downloaded / extracted to datomic/pro, manually for now. The transactor config is setup in datomic/config. The above json config could be in datomic/config, or anywhere else.

So one can run dbin -crt -o datomic/config/options.json to start the datomic console, rest server and transactor with the fewest possible overrides.

See defaults.json for further configuration options.

Testing Build Status

After npm install -g batshit one-time prerequisite:

  1. npm start
  2. npm test

License

MIT

Current Tags

  • 0.0.8                                ...           latest (5 years ago)

15 Versions

  • 0.0.8                                ...           5 years ago
  • 0.0.7-1                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4-1                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2-2                                ...           6 years ago
  • 0.0.2-1 [deprecated]           ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1-1                                ...           6 years ago
  • 0.0.1 [deprecated]           ...           6 years ago
  • 0.0.0-2                                ...           6 years ago
  • 0.0.0-1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |