Setup a development server to run tests on your local machine with the following steps.
git clone http://github.com/mbari-org/aidata.git
cd mbari_aidata
conda env create
conda activate mbari_aidata
export PYTHONPATH=$PWDInstructions are in database_setup.md
This will setup the remaining services needed for development, including a REDIS and NGINX server.
cd mbari_aidata
just setup-docker-dev #or follow the instructions in the Justfile setup-docker-dev recipe if you don't have Just installedWhat you should see when you navigate to http://localhost:8082/data is a list of images that are served from the tests/data directory.
This is useful for testing the image serving capabilities of the module.
