Start the Core engine¶
This tutorial shows how to start the Core engine that will orchestrate the services and the pipelines.
Introduction¶
This tutorial shows how to start the Core engine.
Prerequisites¶
To follow this tutorial, we highly recommend you to follow the Getting started guide first.
It contains all the required tools to follow this tutorial.
Start the Core engine locally¶
Clone the Core engine repository¶
Clone the Core engine repository with the following command.
Start the Core engine locally with Docker Compose¶
In the core-engine/backend
directory, start the Core engine Backend with the following commands:
Access the Core engine Backend documentation at http://localhost:8080/docs.
In the core-engine/frontend
directory, start the Core engine Frontend with the following commands:
Access the Core engine Frontend on http://localhost:3000.
Start a dummy service to test the Core engine locally¶
Clone the dummy service repository¶
average-shade-service is a very simple service that can be used to test the Core engine locally.
Clone the average-shade-service repository with the following command.
Start the service locally with Docker Compose¶
In the average-shade-service
directory, start the service with the following commands:
Access the service documentation at http://localhost:9090/docs.
Try out the Core engine with the dummy service¶
Access the Core engine on http://localhost:3000 or http://localhost:8080/docs to validate the service has been successfully registered to the Core engine.
Try out the service by uploading an image and clicking on the Run
button.
It should return the average shade of the image.
Conclusion¶
Congratulations! You have successfully started the Core engine and a dummy service to try out the features of the Core engine.
Go further¶
Follow the official tutorials by following the Getting started guide.