Update README

This commit is contained in:
Brett Jones 2023-02-22 13:19:05 +01:00 committed by GitHub
parent 970e6f4dc7
commit c21d83f6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -96,9 +96,11 @@ 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/bash -c "ckan generate extension --output-dir /srv/app/src_extensions"
docker compose -f docker-compose.dev.yml exec ckan-dev /bin/bash -c "ckan generate extension --output-dir /srv/app/src"
![Screenshot 2023-02-22 at 1 17 00 pm](https://user-images.githubusercontent.com/54408245/220617547-59705c09-2a8e-4ef8-ac42-eb645c2a1349.png)
The new extension files and directories will be created in the `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/` folder. You might need to change the owner of its folder to have the appropiate permissions.
## 5. CKAN images