Skip to content
Jack edited this page Apr 14, 2020 · 2 revisions

Welcome to Rasa Talk.

Getting up and running

So Rasa Talk has been created to get up and running for both development and production super quickly and easily.

The only item that you'll need are a running MongoDB server. RT can be used without a running rasa server however it will not be possible to train / test the Chatbot.

Clone

Firstly you'll need to clone the repository.

git clone https://github.com/jackdh/RasaTalk/

Set Variables

Then you will need to rename the example.env to .env

mv example.env .env

Within the .env page you will need to supply the following information

ENABLE_TUNNEL=false
NODE_ENV=development
PORT=5001
RASASERVER=http://RASASERVER:5000
JWTSECRET=make_this_random_and_second
MONGOCONNECTIONSTRING=mongodb://MONGOURL:27017/collection-name

Tunnel will allow you to use ngrok if wished, RASASERVER + MONGOURL will likely be localhost if you are running them yourself.

Install

You'll now need to install the node_packages so you can either use

yarn

or

npm install

Run

You should now be able to get up and runnning with the following command. When you first run the application it will do a quick check to see if the environment variables are correctly set as well as set a few database entries which are required.

yarn start

or

npm run start

Logging in

When you first hit the URL you will be required to login or register. The first user who registers will be made an admin. Admins have full wildcard control on the site so a better idea would be to dole out individual permissions to each user.

Clone this wiki locally