Fix for missing config file error
Current code doesn't point to a proper location of config file also name of the config file should be "default.json" instead of "config.json"
This commit is contained in:
parent
25d100ce83
commit
ea109b01c5
1 changed files with 3 additions and 8 deletions
11
README.md
11
README.md
|
@ -47,18 +47,13 @@ Then
|
||||||
$ vim default.json.example
|
$ vim default.json.example
|
||||||
```
|
```
|
||||||
Input your bots token, the channel ID for your bot command channel, and the username & password for LBRYCrd
|
Input your bots token, the channel ID for your bot command channel, and the username & password for LBRYCrd
|
||||||
Rename the configuration file to "config.json" with
|
Rename the configuration file to "default.json" with
|
||||||
|
|
||||||
```
|
```
|
||||||
$ mv default.json.example config.json
|
$ mv default.json.example default.json
|
||||||
```
|
```
|
||||||
Then move the config.json into /bot/config
|
|
||||||
|
|
||||||
```
|
Then run npm install from within lbry-tipbot directory
|
||||||
$ mkdir ~/lbry-tipbot/bot/config
|
|
||||||
$ cp ~/lbry-tipbot/config/config.json ~/lbry-tipbot/bot/config
|
|
||||||
```
|
|
||||||
Then run
|
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
node ~/lbry-tipbot/bot/bot.js
|
node ~/lbry-tipbot/bot/bot.js
|
||||||
|
|
Loading…
Reference in a new issue