This codebase is the BDCS API server, including a version of the composer-UI web interface.
It depends on the BDCS metadata store generated by the bdcs import
service, and can be run directly via cargo run
if the system has Rust installed, or via Docker.
Build the docker image by running:
sudo docker build -t bcl/bdcs-api .
To run the API it requires access to a copy of the metadata.db created by the [bdcs import service[(https://github.com/wiggum/bdcs) and to a directory of recipes. The recipes directory is initialized at runtime from the ./examples/recipes/ directory.
You can then run the API server and composer-UI code like this:
docker run -it --rm -v ~/tmp/mddb/:/mddb/:Z -v ~/tmp/recipes/:/bdcs-recipes/:Z bcl/bdcs-api
You can then access the UI on the http://localhost:4000