Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

554 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMW - Agents-Managed Warehouse

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.

Docker commands

This paragraph contains a list of commands used to run the demo via Gradle and Docker.

Initialization of the system:

  1. `./gradlew download_file` download auxiliary files
  2. `./gradlew unzip` unzip auxiliary files
  3. `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 images see all the installed images
    • docker run IMAGE run the agent from its image
    • docker logs CONTAINER print the container logs on CLI
    • docker 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 -gui start JADE main container from CLI
    • java -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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages