AMW is the implemented project for the distributed systems' exam.
In this application, some agents cooperate to achieve the goal of manage a warehouse.
We want the agents to be also able to acquire some procedural knowledge from a remote repository of abilities.
Below, I present a useful list of commands to run the system.
Those were mostly tested in a Linux environment: although they should run everywhere, that's not guaranteed.
Initialization of the system:
- `./gradlew download_file` download auxiliary files
- `./gradlew unzip` unzip auxiliary files
- `docker pull openjdk:11-jre-slim` download the base image
To run the system: ./gradlew start_system [-Padmin] to start main container, agents and user interface
(or admin if flag is provided).
Other useful commands:
- Docker:
docker imagessee all the installed imagesdocker run IMAGErun the agent from its imagedocker logs CONTAINERprint the container logs on CLIdocker stop `docker containers ls -aq`stop ALL the container in your OS!docker container rm -f `docker container ls -aq`remove ALL the container in your OS!docker rmi -f `docker images -aq`remove ALL the images in your OS!
- JADE:
java -cp path/to/JADE_JAR jade.Boot -guistart JADE main container from CLIjava -cp path/to/JADE_&_JASON_JAR jade.Boot -container "AGENT_NAME:jason.infra.jade.JadeAgArch(MAIN_ASL_FILE_NAME)"start an asl agent by CLI