git ssb

2+

cel / scuttlebot.io



Tree: 3ed513c33a63c4dec6c04e26770a621df61cc360

Files: 3ed513c33a63c4dec6c04e26770a621df61cc360 / tmpl / apis / modules / ssb-config.md

1746 bytesRaw

ssb-config

Configuration module used by scuttlebot.

example

var config = require('ssb-config')

// if you want to set up a test network, that
// doesn't collide with main ssb network,
// pass the name of that network in.

var test_config = require('ssb-config/inject')(
  'testnet', // name
  { port: 9999 } // opts
)
// you can also pass a second argument,
// which overrides the default opts.

Configuration

There are some configuration options for the sysadmins out there. All configuration is loaded via rc. You can pass any configuration value in as cli arg, env var, or in a file.

View on Github

Built with git-ssb-web