I want to host my Rasa-Bot on a Debian server. For this I have written a java script file.
However, I do not know how to change the endpoints, credentials, java script files that the bot also runs on the server.
@nik202 So the case is that we had to write a costum Website. The Website shows just a header and a footer and otherwise we created a chat widget/frame in the center to show the conversation. The HTML and CSS Code is Costum and we did not use any framework. The bot used to work fine with the website hostet locally. I know that it dos not count if it worked on the local machine
To connect the website with rasa we wrote the java Script file.
For now the Website is hostet on the debian server and works fine, but there is no connection to the backend so far.
ok, got your point, but if your website is static it will later create a lot of issues, as I told I don’t know about AJAX, pinging @ChrisRahme for suggestions and help, many thanks in advance Chris.
@ChrisRahme Thank you for your answer. We tried using the IP, unfortunantly it does not work.
We created a Rasa Bot und made a costum widget/website with HTML and CSS. After this we transfered the messages with a Java Script file and Ajax to the Frontend. Locally hosted everything worked finde. Now we want to deploy the bot on an debian server. Howerver unitl now we do not know how to set it up, so it is working on the Server. Do you have any advices?
Then, communicating with the Rasa server is pretty easy in itself - Just GET s and POST s to the Rasa Server at http://<IP>/webhooks/rest/webhook instead of http://localhost:5005/webhooks/rest/webhook (at least for the first two methods, not sure about Docker).