make build
make venv
source venv/bin/activate
make venv-install
make docker
- You should now see something like this
make logs-apps-server-tail
- If errors are reported it doesn't automatically mean that something is wrong. The apps container will try to make connections. If it keeps throwing exceptions, please restart the container withmake docker-apps
.
- Intellij or another IDE
Start MeterReadingsLauncher and PassengersReadingLauncher outside the containers
- Command line (Use java 11)
sdk use java 11.0.11.hs-adpt
java -jar bl-central-server/bl-passengers-readings-service/target/bl-passengers-readings-service-2.0.0-SNAPSHOT-jar-with-dependencies.jar &
java -jar bl-central-server/bl-meters-readings-service/target/bl-meters-readings-service-2.0.0-SNAPSHOT-jar-with-dependencies.jar &
You can also just start make start-readers
. This will start both processes. Just jake sure you are using JDK 11.
make docker-stats
- You should now see something like this
- Stop tailing with
Ctrl-C
make demo
- Make sure you are still invenv
. If not please runsource venv/bin/activate
again.