Application for validating DCAT-AP-NO data.
- 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 dcat-ap-no-validator-gui .
- Run the container using the following comand:
docker run -d -p 8001:8080 -e ENV -e GRAPHQL_ENDPOINT -e VALIDATOR_API_HOST -e FDK_BASE_URI -e FDK_REGISTRATION_BASE_URI -e ADMIN_GUI_BASE_URI dcat-ap-no-validator-gui
- Run the application using the following command:
docker-compose up -d
ENV
- Environmentdevelopment
production
GRAPHQL_ENDPOINT
- GraphQL API endpointVALIDATOR_API_HOST
- Host of the validator API serviceFDK_BASE_URI
- FDK Base URIFDK_REGISTRATION_BASE_URI
- Base URI of the FDK registration applicationADMIN_GUI_BASE_URI
- Base URI of the FDK administration application
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.