README.md in lita-markov-0.0.1 vs README.md in lita-markov-1.0.0
- old
+ new
@@ -9,9 +9,20 @@
``` ruby
gem 'lita-markov'
```
+Configure the database URL for your SQL database
+([Sequel](http://sequel.jeremyevans.net/) is used for
+communicating with databases):
+
+```ruby
+# lita_config.rb
+Lita.configure do |config|
+ config.handlers.markov.database_url = ENV['DATABASE_URL']
+end
+```
+
## Usage
The bot will automatically ingest all messages into the Redis-backed Markov
chain database. You can then query the bot for a generated chain: