For either working on a project locally or working on the core DKAN software and libraries, using a standardized, docker-based local environment is recommended. Our DKAN Tools command-line utility will work on Mac or Linux to create containers for the various services needed by DKAN. This will ensure you have the same setup as DKAN's core developers, and that your environment is very close to that of our continuous integration tools.
It is possible, though not reccomended, to use DKAN Tools without docker and using your system's native webserver, php, and database tools; see the DKAN Tools documentation.
If you are making changes or improvements to DKAN, contribute back using the standard fork and pull-request workflow in Gitihub.
DKAN is based on Drupal software and – generally – runs anywhere Drupal is supported. For the most common setup, we reccomend:
Follow the DKAN Tools README instructions to generate new Drupal site with DKAN installed on your system.
If you already have an existing Drupal site, install DKAN with composer. You can find the latest release version here.
DKAN for Drupal 8 works with a decoupled React application as the frontend.
DKAN_frontend is an integration module that allows the React App driving the frontend to be embedded in Drupal.
If you are not using DKAN Tools, follow these steps to get the integration working:
data-catalog-frontend inside of your docroot directory.data-catalog-frontend, but instead of runnig the development server at the end, build a copy with npm run builddkan_frontend/) to /homeTo populate your site with example content, enable the dkan_dummy_content module:
to add and then remove the content use the following commands: