Distributed-Something is an app to run encapsulated docker containers that do... something in the Amazon Web Services (AWS) infrastructure. We are interested in scientific image analysis so we have used it for CellProfiler, Fiji, and BioFormats2Raw. You can use it for whatever you want!
Distributed-HelloWorld uses it to make a simple app that lets you say hello to the world, as well as list some of your favorite things.
Here, we reimplement Distributed-HelloWorld, with a testing suite.
Like any Distributed-Something applicaton, to make it run in AWS, a user still needs to add their AWS-account specific information.
The test suite however is run locally, using moto to mock AWS infastructure. This lets you make changes and test them without concern for breaking thins on live AWS infrastructure (and incur the associated costs).
To run the tests, setup a virtual environment using your tool of choice (eg venv
. conda
, etc), and install the depedencies:
pip install -r requirements.txt
Run pytest
in the terminal.
Happy Distributing!
Full Distributed-Something documentation is available on our Documentation Website.