This repository was part of HCA DCP/1 and is not maintained anymore. DCP/2 development of this component continues in the forked repository at https://github.com/ebi-ait/ingest-broker.
Web endpoint for submitting spreadsheets for HCA Ingest and basic admin UI.
To run scripts locally you'll need Python 3.6 and all the dependencies in requirements.txt.
pip install -r requirements.txt
pip install -r requirements-dev.txt
Start the web application with
python broker/broker_app.py
Alternatively, you can build and run the app with Docker. To run the web application with Docker for build the Docker image with
docker build . -t ingest-broker:latest
then run the Docker container. You will need to provide the URL to the Ingestion API
docker run -p 5000:5000 -e INGEST_API=http://localhost:8080 ingest-broker:latest
or run against the development Ingest API
docker run -p 5000:5000 -e INGEST_API=http://api.ingest.dev.data.humancellatlas.org ingest-broker:latest
The application will be available at http://localhost:5000