local_pagekite - DeboraEngelmann/helloworld_from_jason GitHub Wiki

Testing project locally with the pagekite

The pagekite is an open-source solution that generates a secure and instant URL for the localhost server running on your machine.
To use it you need to have Python 2.7 installed.

Access http://pagekite.net/ Click Download and follow the installation steps for your operating system.

Click Sign up and enter the data requested to register.

You will receive an activation email. Click on the activation link received in your email to be able to use your account. With the JaCaMo application running (gradle run), open a new terminal and navigate to the folder where the pagekite was installed and run the command.

python2.7 pagekite.py --signup

Follow the instructions at the terminal and enter the data requested by the pagekite.

If it is pointing to port 80, you can stop the service and change the configuration file .pagekite.rc that it creates in the folder home changing the port number to 8080. And then, run the command above again.

Your application link will be https://<the name of the kite entered at startup>.pagekite.me. You can also see it by accessing your account at http://pagekite.net/ . Paste this copied https link into your Dialogflow agent's fulfillment tab under Webhook/URL and click Save. To see how to create dialogflow intentions click here.

Now, you can now make calls directly from your chatbot in Dialogflow to your agent Jason running on your machine.

Links Úteis