From ea109b01c5aaef2762bd57de52cf27c56992d258 Mon Sep 17 00:00:00 2001 From: DusanMarinkovic Date: Thu, 2 May 2019 01:57:13 +0200 Subject: [PATCH] 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" --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 87dcd15..ab7fb0c 100644 --- a/README.md +++ b/README.md @@ -47,18 +47,13 @@ Then $ vim default.json.example ``` 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 -``` -$ mkdir ~/lbry-tipbot/bot/config -$ cp ~/lbry-tipbot/config/config.json ~/lbry-tipbot/bot/config -``` -Then run +Then run npm install from within lbry-tipbot directory ``` npm install node ~/lbry-tipbot/bot/bot.js