Skip to content

Running virtualized system

Paweł Kaczor edited this page Jul 16, 2018 · 6 revisions

Prerequisites

All you need is Vagrant and Docker.

Building the system

sbt docker:stage

Running the system

cd e2e-tests
vagrant up --no-parallel
Useful commands
  • docker ps - display all running applications
  • vagrant up [<app-name>] - run all or single application(s) (eg. vagrant up sales-write-front)
  • vagrant halt [<app-name>] - stop all or single application(s)
  • vagrant docker-logs -f [<app-name>] - display live logs from all or single application(s)
  • vagrant destroy -f [<app-name>] - stop and remove container image of all or single application(s)
sbt commands
  • redeploy - command alias for rebuilding and restarting the current application or the whole system (if called from the root project)
  • redeployQuick - command alias for building quickly (using incremental compilation) and restarting the current application or the whole system (if called from the root project)

Testing the system

You are ready now to test the system. Please choose: