![]() ![]() ![]() The most mature editor support for Jolie is currently offered by the Jolie extension for Visual Studio Code, called vscode-jolie. The listed editors have one or more plug-ins to aid Jolie programmers with syntax highlighting, on-the-fly error notification, and direct in-editor service launch shortcuts. The folder /examples of the container includes all the complete examples reported in the documentation (see the related repository). ![]() The easiest way to run them is to directly pull the docker image jolielang/jolie-examples with command docker pull jolielang/jolie-examples. With the Jolie Docker image you can run any of these examples without having Jolie directly installed in you OS. The Jolie documentation contains many running examples. Running examples in Jolie documentation with Docker To run a new microservice on the same container type docker exec -it CONTAINERNAME bash to launch a new shell, following the previous commands to execute the desired service. Now you can edit your files in folder /your-host-folder-path and find them in your container folder /your-container-path.įinally, to run a Jolie microservice type jolie your_file.ol in the launched shell.Ĭontainers are also useful to test systems of microservices running within the same container. Once the image is available on your machine, create a container from it by adding a local volume where storing the Jolie files: docker run -it -v /your-host-folder-path:/your-container-path –name CONTAINERNAME jolielang/jolie. Open a shell and pull the most recent Jolie image with the command docker pull jolielang/jolie. This solution requires Docker installed in your machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |