* Fix quickstart config.hjson example

* Fix minor log issue in bbs.js @ error when parsing config/etc.
This commit is contained in:
Bryan Ashby 2016-03-27 00:19:31 -06:00
parent 91279464f7
commit 38a96f53da
2 changed files with 25 additions and 22 deletions

View File

@ -78,7 +78,7 @@ function bbsMain() {
], ],
function complete(err) { function complete(err) {
if(err) { if(err) {
logger.log.error(err); console.error('Error initializing: ' + util.inspect(err));
} }
} }
); );

View File

@ -44,30 +44,33 @@ openssl genrsa -des3 -out ./misc/ssh_private_key.pem 2048
The main system configuration is handled via `~/.config/enigma-bbs/config.hjson`. This is a [HJSON](http://hjson.org/) file (compiliant JSON is also OK). See [Configuration](config.md) for more information. The main system configuration is handled via `~/.config/enigma-bbs/config.hjson`. This is a [HJSON](http://hjson.org/) file (compiliant JSON is also OK). See [Configuration](config.md) for more information.
```hjson ```hjson
general: { {
boardName: Super Awesome BBS general: {
} boardName: Super Awesome BBS
}
servers: { servers: {
ssh: { ssh: {
privateKeyPass: YOUR_PK_PASS privateKeyPass: YOUR_PK_PASS
enabled: true /* set to false to disable the SSH server */ enabled: true /* set to false to disable the SSH server */
} }
} }
messageConferences: { messageConferences: {
local_general: { local_general: {
name: Local name: Local
desc: Local Discussions desc: Local Discussions
default: true default: true
areas: { areas: {
local_music: { local_music: {
name: Music Discussion name: Music Discussion
desc: Music, bands, etc. desc: Music, bands, etc.
default: true default: true
} }
} }
}
}
} }
``` ```