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

Posted June 25, 2019 3.5k views
Linux BasicsUbuntuNode.js

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

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.

Submit an Answer
1 answer


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
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

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!
by Brennen Bearnes
by Kathleen Juell
Node.js is a JavaScript platform for general-purpose programming that allows users to build network applications quickly. In this guide, we'll show you how to get started with Node.js on an Ubuntu 18.04 server.