An administration application for Fellesdatakatalog.
- 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 fdk-admin-gui .
- Run the container using the following comand:
docker run -d -p 8137:8080 -e ENV -e OIDC_ISSUER -e FDK_HARVEST_ADMIN_HOST -e ORGANIZATION_CATALOG_URI fdk-admin-gui
- Run the application using the following command:
docker-compose up -d
ENV
- Environmentdevelopment
production
OIDC_ISSUER
- OIDC issuer URIFDK_BASE_URI
- FDK Base URIFDK_HARVEST_ADMIN_HOST
- fdk-harvest-admin API hostnameFDK_REGISTRATION_BASE_URI
- Base URI of the FDK registration applicationORGANIZATION_CATALOG_URI
- organization-catalog API hostnameFDK_CMS_BASE_URI
- dk-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.