From 1ea8f7c9d659568e95bb0e5cc005db235c21cfb4 Mon Sep 17 00:00:00 2001 From: Brett Jones <54408245+kowh-ai@users.noreply.github.com> Date: Wed, 22 Feb 2023 13:46:47 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c63c384..5d744b9 100644 --- a/README.md +++ b/README.md @@ -96,11 +96,12 @@ See [CKAN Images](#ckan-images) for more details of what happens when using deve You can use the ckan [extension](https://docs.ckan.org/en/latest/extensions/tutorial.html#creating-a-new-extension) instructions to create a CKAN extension, only executing the command inside the CKAN container and setting the mounted `src/` folder as output: - docker compose -f docker-compose.dev.yml exec ckan-dev /bin/sh -c "ckan generate extension --output-dir /srv/app/src" + docker compose -f docker-compose.dev.yml exec ckan-dev /bin/sh -c "ckan generate extension --output-dir /srv/app/src_extensions" -![Screenshot 2023-02-22 at 1 17 00 pm](https://user-images.githubusercontent.com/54408245/220617547-59705c09-2a8e-4ef8-ac42-eb645c2a1349.png) +![Screenshot 2023-02-22 at 1 45 55 pm](https://user-images.githubusercontent.com/54408245/220623568-b4e074c7-6d07-4d27-ae29-35ce70961463.png) -The new extension files and directories are created in the `/srv/app/src/` folder. You might need to change the owner of its folder to have the appropiate permissions. + +The new extension files and directories are created in the `/srv/app/src_extensions/` folder in the running container. They will also exist in the local src/ directory as local `/src` directory is mounted as `/srv/app/src_extensions/` on the ckan container. You might need to change the owner of its folder to have the appropiate permissions. ## 5. CKAN images