Castor’s FAIR Data Point allows researchers to share high-level metadata and data of their clinical trials and registries according to existing, community-adopted standards: the DCAT standard and FAIR Data Point metadata specification. This metadata includes textual descriptions of and contact and licensing information for catalogs (groups of datasets), datasets (data collections which are available for access or download in one or more representations) and distributions (specific available form of a dataset).
To be able to run the FAIR Data Point application locally you need to have the following applications installed:
- docker: https://docs.docker.com/install/
- docker-compose: https://docs.docker.com/compose/install/
-
Copy the
.env.distfile into the same folder with the new name.env.local. -
Paste the secrets (marked with
[Paste from 1Password]) from theENG - FDP Limited Access1Password note in the.env.localfile. -
Add the following entry to
/etc/hosts:127.0.0.1 fdp.castoredc.local
To boot the application locally run:
yarn build-dockerYou can now access the FAIR Data Point via https://fdp.castoredc.local.
To stop the environment run:
yarn stop-dockerTo destroy all the containers:
yarn destroy-dockerTo build the UI and watch for changes while developing, run:
yarn watchTo build the UI for production use, run:
yarn buildIn case you see errors related to composer on m1 macbooks
- Install composer on your local machine from here
https://getcomposer.org/download/
- Then run the below comand in root directory of your project
php composer.phar install