A simple conversation bot that can quiz users on a variety of topics.
- Install Ruby dependencies:
$ bundle install
- Install JS dependencies:
- Fire up a dev server:
$ yarn dev
http://localhost:8080in your browser
(Refer to the React + Sinatra example repo for more details on what is happening behind the scenes)
You'll need to set environment variables in the
.env file with your Watson Conversation credentials.
CONVERSATION_USERNAME CONVERSATION_PASSWORD CONVERSATION_WORKSPACE_ID CONVERSATION_BASE_URI
$ yarn build
ruby lib/app.rb(We're using Puma by default)