Building and deploying the bookstore bundles
At this point, we have all the necessary code changes in place to run the bookstore services within ConductR. Now, all we have to do is build and deploy the bundles using sbt and the ConductR CLI via sbt-conductr
. The process will be the same for each module, so I will only describe it once—for inventory-management
—and then you can repeat it across the other three modules. Before doing this however, we want to get the containers for Cassandra and Elasticsearch up and running. To do that, open up a terminal window to the root of the bookstore-app-complete
folder from the chapter9
code distribution and run the following command:
./launchDataStores.sh
Once you have those two containers up and running, you need to start up the ConductR sandbox so that we can deploy our bundles into it. As a reminder, the command to start up the sandbox is as follows:
sandbox run <sandbox_version> --nr-of-containers 3
Just be sure to replace <sandbox_version...