From effe25449455c8726c229bd91b4391b0cf8847cf Mon Sep 17 00:00:00 2001 From: pipakin Date: Thu, 9 Feb 2017 14:37:09 -0600 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4974f5..af95bf5 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,9 @@ This repository is the meat of the courtbot functionality, intended to be requir # Registration Source -In order to store and retreive registrations and sent-messages a registration source must be configured. The easiest way to do that is to use https://github.com/codefortulsa/courtbot-engine-pg to fill this role +In order to store and retreive registrations and sent-messages a registration source must be configured. The easiest way to do that is to use https://github.com/codefortulsa/courtbot-engine-pg to fill this role. +Example code to fulfill this requirement: ``` js var courtbot = require("courtbot-engine"); @@ -56,6 +57,7 @@ courtbot.setRegistrationSource(function(connectionString) { In order to send messages and interpret messages from the client, the engine requires a message source to be defined. This provides translations for all the messages. +Example code to fulfill this requirement: ``` js var courtbot = require('courtbot-engine');