By Pankaj Negi
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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.