Changes between Version 20 and Version 21 of PetriNetSagas
- Timestamp:
- Feb 8, 2021, 11:10:47 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PetriNetSagas
v20 v21 21 21 22 22 ''' Library files + Eventuate Tram adapter only: ''' [https://git.informatik.uni-hamburg.de/roewekamp/roewekamp-public/-/raw/master/petri-net-saga-eventuate-tram.zip?inline=false Download] 23 [[BR]]For experienced users. These are just the library files for Petri net Sagas and the Eventuate Tram Adapter. These can be combined with other projects, e.g. non-Spring 23 [[BR]]For experienced users. These are just the library files for Petri net Sagas and the Eventuate Tram Adapter. These can be combined with other projects, e.g. non-Spring-based. 24 24 25 25 == Setup instructions for the example == … … 27 27 The setup assumes a Linux environment. If you work under macOS or Windows details might differ from the here presented instructions. 28 28 It is highly recommended to prepare a local installation of Docker and docker-compose, as it greatly eases setup of the required service components for the microservice infrastructure. 29 It is however not necessary to do so on the same machine the (sample) code is to be run. 29 It is, however, not necessary to do so on the same machine, that the (sample) code is to be run. 30 So it is possible to run the Docker based services on one machine and the code on another. 30 31 Note, that under Windows Docker needs to run in Linux-image compatible mode, as some key images are only available for the Linux platform. 31 32 … … 44 45 Download the Example package (!BookStoreExample.zip) (see above) and unzip it. 45 46 To set up all the dependencies it is sufficient to navigate to the folder "docker" and issue the command {{{docker-compose up -d}}} from within that directory. 46 If you have installed docker on another machine, make sure dire kt connection between your machine and the docker machine is possible, and ports `2181`, `9092`, `3306`, `8099` and `9411` are not firewalled.47 If you have installed docker on another machine, make sure direct connection between your machine and the docker machine is possible, and ports `2181`, `9092`, `3306`, `8099` and `9411` are not firewalled. 47 48 Depending on your local setup you might need to supply elevated permissions (e.g. by using {{{sudo}}}) to the docker-compose command. 48 49 The service infrastructure can be tore down again with the command {{{docker-compose down}}} from within the same directory.