[英]Deploy my messenger chatBot on my online server
I'm working on a facebook messenger chatbot ( dialogFlow and nodejs and ngrok ) 我正在使用Facebook Messenger聊天机器人(dialogFlow和nodejs和ngrok)
and every time i test the chatbot in my local server (pc or mac) 每次我在本地服务器(PC或Mac)中测试chatbot时
So now i want to deploy the chatbot on my online server ( linux ) ? 所以,现在我想在我的在线服务器(linux)上部署chatbot吗? Do you have any idea how to do it ?
你有什么想法吗? Thanks
谢谢
Hi you could use services such as Heroku in order to do so. 您好,您可以使用Heroku等服务。 If you launch it on your own Linux server, you should have a URL pointing to it (ie: mylinuxserver.com) and as your nodeJS code is listening to a route it will work the same as ngrok :) (ie: mylinuxserver.com/bot)
如果在您自己的Linux服务器上启动它,则应该有指向它的URL(即:mylinuxserver.com),并且当您的nodeJS代码正在侦听路由时,它将与ngrok一样工作:)(即:mylinuxserver.com) /机器人)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.