You are on page 1of 3
2406/2021 Situ -nayo0asinstalation @ hayo03 / Installation Yr Ostars YO forks WY star D Notifications Code Issues Pull'requests —Actions.-—Projects «Wiki Security _ Insights PB main v Go to file SS hayoo3 on29 Apr @ View code Preparing for the Chatbot Development Tutorial In preparation for the tutorial, we can start by setting up a few tools that will ensure we make the most out of the online sessions and focus on learning about chatbots. These tools that we will be using are the following: ‘* Python. it's the programming language we will be relying on for our code examples. We are preparing the tutorial so that the programming requirements are minimal, and if you had any experience with another programming language you can still play and modify the examples we provide. * Code Editor. We strongly suggest installing a code editor for writing and editing the python code. We are using Visual Studio Code, but feel free to use your editor of choice in case you have one already installed. ‘* Ngrok. It's a powerful too! that will allow us to publish on the Web the services we develop (locally) without the complexity of deploying them into servers. We need ngrok so that our backend services are available to the chatbots we design in DialogFlow. Below we provide instructions on how to install and test your environment for these tools Jump directly to the section of interest if you already have some of these tools installed Install Python 3 1. According to your OS system, download and install Python from Here. Choose the latest version, i. "Download Python 3.9". hitpsigthub.comihayo03iInstalation 18 2aroac02s Git -hayo0sinstalaion 2. To make sure that Python is installed successfully, run “python3* in the terminal (OS, Ubuntu) or in PowerShell (Windows). The result of this has to be like the following . hayet — Python — 80x24 hayet@MacBook-Pro-de-hayet ~ % python3 Python 3.9.1 (default, Feb 3 2021, 07:04:15) [Clang 12.6.0 (clang~1200.0.32.29)] on darwin Type "help", "copyright", "credits" or “license” for more information Install Visual Studio Code = README.md Install Ngrok Download it from here, unzip it, and in the terminal (OS, Ubuntu) or in PowerShell (Windows) just run the following commands: cd Path_To_Ngrok -/ngrok http 8081 (or ngrok http 8081 if the first one does not work) The result of this run has to be like the following: Ngrok_ folder — ngrok http 8081 — 80x24 Pera ese) seer eT) rere) (us) rary @.1:4040 eT HIE ace a eee ECE Wetec pereeres Pesce a ess! rac) rr e Cr aT) hitpsigthub.comihayo03iInstalation 23 2402001 Git -hayo0stnstalaion Note. Please note that a Ngrok session will still available only for 2 hours, so you have to rerun Ngrok each time these 2 hours expire, Releases No releases published Packages No packages published Languages © Python 100.0% hitpsigthub.comihayo03iInstalation 33

You might also like