Commit d9c106e0b1907b435384d95e0ab0f1689f38205b
Merge branch 'master' of https://git.ziemers.de/edu/BeuthBot
Showing
1 changed file
with
3 additions
and
1 deletions
README.md
@@ -82,7 +82,7 @@ After the application has started the following two endpoints of the server are | @@ -82,7 +82,7 @@ After the application has started the following two endpoints of the server are | ||
82 | - WildFly Server Manager: <http://localhost:9990/> | 82 | - WildFly Server Manager: <http://localhost:9990/> |
83 | - Rasa: <http://localhost:5000/parse?q=Hello> | 83 | - Rasa: <http://localhost:5000/parse?q=Hello> |
84 | 84 | ||
85 | -It is possible to use a Postman Collection to test the configured endpoints for Telegram and Facebook. The `docu/postman/` directory includes a Postman collection containing corresponding endpoints. The JSON file `beuth-bot.json` can be imported into Postman. If changes are made to the Postman collection, the service of the JSON file should be increased accordingly. | 85 | +It is possible to use a Postman Collection to test the configured endpoints for Telegram and Facebook. The `docu/postman/` directory includes a Postman Collection containing corresponding endpoints. The JSON file `beuth-bot.json` can be imported into Postman. If changes are made to the Postman Collection, the service of the JSON file should be increased accordingly. |
86 | 86 | ||
87 | In addition it is also possible to set up your own bot for example, in Telegram and test it with the local server. For this however a local tunnel must be set up to make the application visible to the outside. For details see the section [Local tunnel](#Local tunnel). | 87 | In addition it is also possible to set up your own bot for example, in Telegram and test it with the local server. For this however a local tunnel must be set up to make the application visible to the outside. For details see the section [Local tunnel](#Local tunnel). |
88 | 88 | ||
@@ -268,6 +268,8 @@ In addition a folder with the project name `<projectname>` has to be created on | @@ -268,6 +268,8 @@ In addition a folder with the project name `<projectname>` has to be created on | ||
268 | mkdir ~/<projectname> | 268 | mkdir ~/<projectname> |
269 | ``` | 269 | ``` |
270 | 270 | ||
271 | +If the URL of the BeutBots API changes, the variable `WEB_URL` in the` beuthbot.proterties` has to be adjusted. In addition the call of `setWebhook` methods for Facebook and Telegram is necessary. The corresponding endpoints can be found in the Postman Collection. | ||
272 | + | ||
271 | ### 2. Use in a local development environment | 273 | ### 2. Use in a local development environment |
272 | 274 | ||
273 | This step sets up a reference to the server on which the application is deployed. For this the following command must be executed. The placeholder `<user>` has to be replaced by the matching SSH user and the project `<projectname>` that has been set up on the server. | 275 | This step sets up a reference to the server on which the application is deployed. For this the following command must be executed. The placeholder `<user>` has to be replaced by the matching SSH user and the project `<projectname>` that has been set up on the server. |