From 925acd46e41c905e7f77e6ffdb303b8d3dd6db1d Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Wed, 7 Jul 2021 15:03:47 +0100 Subject: [PATCH] minor alteration of README to cover database persistence --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92e5e18..2dcbee0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ MONGO_INITDB_ROOT_USERNAME= MONGO_INITDB_ROOT_PASSWORD= BOT_VERSION=2.1.1 ``` -The only thing that remains is for the correct API keys to be entered in the environment variables in the `.env` file, and for a copy of this file to be placed in the root and the `app` directories. +The correct API keys need to be entered in the environment variables in the `.env` file, and for a copy of this file to be placed in the root and the `app` directories. + +Also create a new folder in the root directory called `db`. This is to ensure there is persistence of data when the bot is updated. **N.B.**: When the bot is first run, it is configured to log in as the Test Bot, and not the main Geas Server Bot, as a safety measure. To change this, navigate to the last line of the file `bot.py` and change the line: