Report this

What is the reason for this report?

How can I deploy My chatbot in Linux Machine I'm using Node.js And RASA NLU

Posted on June 25, 2019

Im using Node.js and RASA ain My chatbot and want to deploy it on Linux. How to do that??



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I assume you are talking about the following ChatBot

If you are, then you can check this guide

Preparing deployment of ChatBot

You would first need to deploy NodeJS on your ubuntu server.

Once you have NodeJS installed, you’ll need to install atleast Python 3.5. To do so, you can execute the following on your server

sudo apt-get update
sudo apt-get -y upgrade

Once you have your enviroment upgrade, you’ll need to install some additional packages:

npm install socket.io
npm install express

Now you’ll be ready to deploy chatbot.

To do so, you’ll need to use git. Enter the directory you wish to deploy chat bot and run the following command:

git clone https://github.com/Gabryxx7/chatbot-node-rasa.git

Now the last bit, to start chatbot just execute

sudo node index.js

You should get the following reply

root@Testinggg:/var/www/html/chatbot-node-rasa# sudo node index.js
Chatbot is listening on port 8000!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.