git ssb

1+

Dominic / ssb-config



Tree: 0fd6efbb86011355a4b70464111b23d1d82853c2

Files: 0fd6efbb86011355a4b70464111b23d1d82853c2 / README.md

2012 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 pass the name of that network in.

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

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.

License

MIT

Built with git-ssb-web