Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.38 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.38 KB

Ecotone - InspectIO Cody Integration

InspectIO can connect to a coding bot called Cody. With its help you can generate working code from an event map. This package connects Cody with Ecotone.

Cody server runs at http://localhost:3311

Installation

Please make sure you have installed Docker and Docker Compose.

Install Cody next to your project repository. Let's say project root is in /home/projects/my_awesome_service then you should clone Cody into /home/projects/cody-integration:

$ git clone https://github.com/ecotoneframework/cody-integration.git
$ cd cody-integration
$ # Adjust relative path to your service in .env file
$ cp .env.dist .env
$ composer install

Start Cody Server

To start the Cody server execute the following command. You should be able to connect from InspectIO to the Cody server via the URL http://localhost:3311.

$ docker-compose up -d --no-recreate

Cody Config

Ecotone Cody Integration ships with preconfigured Cody hooks. If you want to change the default behavior copy and rename codyconfig.php.dist to codyconfig.php and adjust as needed.