* 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:
@@ -52,7 +52,8 @@ function init(configPath, cb) {
|
|||||||
function getDefaultPath() {
|
function getDefaultPath() {
|
||||||
var base = miscUtil.resolvePath('~/');
|
var base = miscUtil.resolvePath('~/');
|
||||||
if(base) {
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,4 +37,11 @@ messages: {
|
|||||||
{ name: "local_enigma_discusssion", desc: "ENiGMA Discussion", groups: [ "users" ] }
|
{ 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.
|
||||||
Reference in New Issue
Block a user