Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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!