-
Notifications
You must be signed in to change notification settings - Fork 2
Building and Running
This page attempts to describe as accurately as possible how to build and run the drone simulator.
In the docker_images
folder there is a script that calls the bundles.sh
script. The bundles.sh
script builds the bundles using maven. Then the bundles are moved to the correct folders. The script then builds the base image that is extended by the docker images that need Felix. Then last we use docker-compose to build and run the images at once.
cd docker_images
./prepare_docker_images.sh
docker-compose up --build
To run the docker images without rebuilding them, simply run the following command from the project root.
docker-composer up
This runs etcd, rabbitmq and the game engine. Next, all you have to do is start the visualisation, which is not done in a docker container.
We want to run the visualisation with the log level on warning. This will disable log messages on info level, which slow down the visualisation of the drones.
cd bundles
java -Dorg.ops4j.pax.logging.DefaultServiceLog.level=WARN -jar visualisation-0.1.jar