dkan icon indicating copy to clipboard operation
dkan copied to clipboard

How to install dkan

Open ugintl opened this issue 3 years ago • 9 comments

I want to install dkan for D8 or 9, but I did not find anything about how to do it. I do not want to install it on an existing site.

ugintl avatar Mar 19 '21 10:03 ugintl

@ugintl https://demo.getdkan.org/modules/contrib/dkan/docs/start.html

fmizzell avatar Mar 19 '21 12:03 fmizzell

I have already visited this link. From this link "Starting a new project

Follow the instructions on the DKAN Tools README to generate new Drupal site with DKAN installed on your system." I also followed DKAN tools readme link, but no guidance there as well. I am missing something?

ugintl avatar Mar 19 '21 14:03 ugintl

@ugintl add DKAN to your site with

composer require 'getdkan/dkan'
composer update

This will add DKAN to your project and install all dependencies.

janette avatar Mar 19 '21 14:03 janette

Hi, i cant install dkan 2 in a new drupal 8.9.14 website. composer require 'getdkan/dkan' or composer require 'getdkan/dkan:2.10.1' fails. Please advice. Thank you. Screenshot 2021-04-27 at 17 06 41

nmichalakis avatar Apr 27 '21 14:04 nmichalakis

@nmichalakis did you make the changes to your composer.json file listed in the release notes?

janette avatar Apr 27 '21 14:04 janette

@janette thank you! that was it. I updated the composer.json as described in the release notes (https://github.com/GetDKAN/dkan/releases/tag/2.10.0) and then composer require 'getdkan/dkan'.

nmichalakis avatar Apr 27 '21 17:04 nmichalakis

How can I install Dkan 2.13.10 ?

Thanks in advance.

luisgil06 avatar Jun 10 '22 22:06 luisgil06

@nmichalakis hi you did it work?

tridoxx avatar Aug 31 '22 00:08 tridoxx

@tridoxx sorry no.

nmichalakis avatar Aug 31 '22 10:08 nmichalakis

The real solution, for a new DKAN site, is to use the getdkan/recommended-project metapackage which you can read about here: https://dkan.readthedocs.io/en/latest/installation/index.html#starting-a-new-dkan-project

To add DKAN do your existing site, you'll need to modify your composer.json to include asset-packagist, as outlined here: https://github.com/GetDKAN/dkan/releases/tag/2.10.0

Then you should be able to say composer require getdkan/dkan -W.

paul-m avatar Feb 01 '24 23:02 paul-m