An application for managing datasets.
- Required tools to run this project:
- Node.js and npm to run locally on a host machine
- Docker and Docker Compose to run locally in a container
- Install dependencies by running
npm install
- Run
npm start
to start local development server
- Build a Docker container using the following command:
docker build -t dataset-catalog-gui .
- Run the container using the following comand:
docker run -d -p 4301:8080 -e NAMESPACE -e FDK_BASE_URI -e SSO_HOST -e SKE_THEME_PROFILE -e FDK_REGISTRATION_BASE_URI -e ADMIN_GUI_BASE_URI -e ORGANIZATION_API_HOST -e SEARCH_FULLTEXT_HOST -e DATASERVICE_CATALOG_BASE_URI -e CONCEPT_REGISTRATION_HOST -e CONCEPT_REGISTRATION_API_HOST -e RECORDS_OF_PROCESSING_ACTIVITIES_BASE_URI dataset-catalog-gui
- Run the application using the following command:
docker-compose up -d
NAMESPACE
- Environment namespacedevelopment
staging
demo
prod
FDK_BASE_URI
- FDK base URISSO_HOST
- SSO hostnameSKE_THEME_PROFILE
- comma-separated list of organization numbersFDK_REGISTRATION_BASE_URI
- FDK registration GUI base URIADMIN_GUI_BASE_URI
- FDK admin GUI base URIORGANIZATION_API_HOST
- FDK organization catalog API hostnameSEARCH_FULLTEXT_HOST
- FDK full-text search API hostnameDATASERVICE_CATALOG_BASE_URI
- FDK data service catalog GUI base URICONCEPT_REGISTRATION_HOST
- FDK concept registration GUI hostnameCONCEPT_REGISTRATION_API_HOST
- FDK concept registration API hostnameRECORDS_OF_PROCESSING_ACTIVITIES_BASE_URI
- FDK records of processing activities base URIFDK_COMMUNITY_BASE_URI
- FDK Data community uriFDK_CMS_BASE_URI
- fdk-cms hostname
Whenever a new change is to be implemented, follow these steps:
- Create a new branch from the master branch
- Implement and commit changes
- Create a pull request for code review
This repository uses conventional commmit format. In order to commit, follow these steps:
- Stage files to be committed
- Run
npm run commit
script
Do not use --no-verify
flag when making commits.
To get an overview of the react components used in this app, run:
npm run storybook