hubmapconsortium / ingest-ui

HuBMAP Data Ingest Portal
https://ingest.hubmapconsortium.org
MIT License
4 stars 0 forks source link

HuBMAP Data Ingest Portal

The HuBMAP Data Ingest Portal UI is a web application built with React on Nodejs v14 (includes npm). It interacts with the backend APIs (ingest-api, entity-api, and search-api) to register Donor/Sample/Dataset/Upload and makes them searchable (via search-api).

Configuration and local development

Create .env file base on example.env file in the same src directory.

npm install
npm start

Running the following command will create an optimized static build of your app in the build folder:

npm run build

Docker build for DEV development

There are a few configurable environment variables to keep in mind:

cd docker
./docker-development.sh [check|config|build|start|stop|down]

Docker build for deployment on TEST/STAGE/PROD

cd docker
docker pull hubmap/ingest-ui:2.3.0 (replace with the actual released version number)
./docker-deployment.sh [start|stop|down]