upgrade getting started instruction [#352]

This commit is contained in:
reality 2013-07-25 18:30:50 +00:00
parent df43d580a7
commit 516ede704b

View File

@ -13,9 +13,25 @@ writing documentation.
## Getting Started ## Getting Started
You can install DBot's dependencies, configure and run the bot for the first To get started with DBot, you first need to decide on a database system to use.
time with the following command: DBot uses the [databank](http://github.com/e14n/databank) library, and each
module can be configured to use any database driver databank supports in its
respective config.json file. There is currently no default database driver
option.
The default for all modules is the 'redis' driver, and you can simply install
the Redis server to get going.
Once you have that set up, you can install DBot's dependencies, configure and
run the bot for the first time with the following command:
``` ```
sh install.sh sh install.sh
``` ```
## Upgrading
If you have used a previous version of DBot, then you can migrate most data
using the [dbot-migrate](https://github.com/reality/dbot-migrate) module.
Instructions on how to run this are included in the repository - remember to
remove db.json after migration, otherwise the instance will be slow!