...
BD-base runs the necessary dockerized Brown Dog Data Transformation Services (Clowder, Polyglot, Fence, RabbitMQ, MongoDB, Redis, an example extractor, an example converter, and the BD CLI) and combines them into one integrated program. You can get the BD-base by cloning the repo:
git clone https://opensource.ncsa.illinois.edu/bitbucket/scm/bd/bd-base.git
or download the VM and run it:
http://browndog.ncsa.illinois.edu/downloads/bd-base.ova
After downloading BD-
...
base, users can simply run the bash script
...
in the command-line to start up the BD
...
development base.
Code Block |
---|
./bd.sh |
The BD-
...
base script will split your terminal into panes and start each of the services needed for the Brown Dog
...
DTS. This provides a useful and convenient way to view the logs of running services in panes.
Users can switch between panes using Tmux commands.
...
The panes are as follows: Fence (top), Clowder (middle-left), example extractor (middle-right), Polyglot (middle-left), example convert (middle-right), and the BD CLI (bottom). Users can run BDCLI commands to interact with Brown Dog Data Transformation Services (
...
There is an example to perform a conversion from jpg to bmp.
...
username: bd, password: browndog):
Extractors
Here we described the process for taking a working piece of code and deploying it as a Brown Dog extractor. It is assumed that the method can be invoked from a single call. In this example, we are using the python extractor wrapper and will invoke a python function. In a very similar fashion, a method developed in a language other than python can be invoked using subprocess.
...