seregatte/drupal_module_confessional

Proof of concept

1.0.3 2017-12-08 20:40 UTC

This package is not auto-updated.

Last update: 2024-05-23 15:01:43 UTC


README

Drupal module used in a PHP Conference Brazil 2017 Keynote.

Requirements

  • PHP ^5.5.9
  • Composer
  • Docksal (Optional)

Instalation

Run:

$ composer create-project drupal-composer/drupal-project:8.x-dev alexa-test --stability dev --no-interaction && cd alexa-test && composer require seregatte/drupal_module_confessional

You can run the project in your PHP favorite Stack, or... Install with docksal.

Instalation With Docksal

Run:

$ composer create-project seregatte/drupal-composer-boilerplate alexa-test --stability dev --no-interaction && cd alexa-test && composer require seregatte/drupal_module_confessional && fin setdomain alexatest.docksal && fin init && fin drupal moi confessional

After that you have a full site acessible via http://alexatest.docksal/

  • On instalation drupal will ask you for a admin password

Configuration

Access admin/config/services/alexa and put a alexa skill ID, showed in Amazon Developer Portal

In resource's folder on this module there are some Uterrances and Intent Schema.

  • By default alexa module accept requests on /alexa/callback url, make sure that this url is accessible via internet. You can use ngrok for that or simply use fin share command if have you using docksal.

License

GPL-3.0+

Author

João Paulo Seregatte Costa seregatte@gmail.com