Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.03 KB

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/TEST/PROD development

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

  • HOST_UID: the user id on the host machine to be mapped to the container. Default to 1000 if not set or null.
  • HOST_GID: the user's group id on the host machine to be mapped to the container. Default to 1000 if not set or null.
cd docker
./docker-development.sh [check|config|build|start|stop|down]