* Change config.hjson path from ~/.enigma-bbs/config.hjson to ~/.config/enigma-bbs/config.hjson

* Note about first user being sysop
This commit is contained in:
Bryan Ashby 2015-11-12 16:18:28 -07:00
parent a1d3ab9f0e
commit da460dfc7b
2 changed files with 10 additions and 2 deletions

View File

@ -52,7 +52,8 @@ function init(configPath, cb) {
function getDefaultPath() {
var base = miscUtil.resolvePath('~/');
if(base) {
return paths.join(base, '.enigma-bbs', 'config.hjson');
// e.g. /home/users/joeuser/.config/enigma-bbs/config.hjson
return paths.join(base, '.config', 'enigma-bbs', 'config.hjson');
}
}

View File

@ -37,4 +37,11 @@ messages: {
{ name: "local_enigma_discusssion", desc: "ENiGMA Discussion", groups: [ "users" ] }
]
}
```
```
5\. Launch!
```bash
./main.js
```
The first user you create via applying is the root SysOp.