Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix notes #53

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## Overview
Docker compose environment (based on [pycsw](https://github.com/geopython/pycsw)) for development and testing with CKAN Open Data portals.[^1]

>**Note**<br>
> [!NOTE]
> It can be easily tested with a CKAN-type Open Data portal deployment: [mjanez/ckan-docker](https://github.com/mjanez/ckan-docker)[^2].

Available components:
Expand Down Expand Up @@ -48,7 +48,7 @@ Select the CKAN Schema (`PYCSW_CKAN_SCHEMA`), and the pycsw output schema (`PYCS
* `iso19139_inspire`, **default**: Customised schema based on ISO 19139 INSPIRE metadata schema.
* `iso19139`: Standard pycsw schema based on ISO 19139.

>**Note**<br>
> [!NOTE]
> The output pycsw schema (`iso19139_inspire`), to comply with INSPIRE ISO 19139 is WIP. The validation of the dataset/series is complete and conforms to the [INSPIRE reference validator](https://inspire.ec.europa.eu/validator/home/index.html) datasets and dataset series (Conformance Class 1, 2, 2b and 2c). In contrast, spatial data services still fail in only 1 dimension [WIP].

To deploy the environment, `docker compose` will build the latest source in the repo.
Expand All @@ -68,15 +68,15 @@ docker compose -f docker-compose.ghcr.yml --build
docker compose up -d --build
```

>**Note**:<br>
> [!NOTE]
> Deploy the dev (multistage build) `docker-compose.dev.yml` with:
>
>```bash
> docker compose -f docker-compose.dev.yml up --build
>```


>**Note**:<br>
> [!NOTE]
>If needed, to build a specific container simply run:
>
>```bash
Expand Down Expand Up @@ -244,7 +244,7 @@ Perform a `GetRecords` request and return all:
2. Open [`ckan2pycsw.py`](/ckan2pycsw/ckan2pycsw.py).
3. Start debugging on `ckan2pycsw.py` Python file (`Debug the currently active Python file`).

>**Note**<br>
> [!NOTE]
> By default, the Python extension looks for and loads a file named `.env` in the current workspace folder. More info about Python debugger and [Enviromental variables use](https://code.visualstudio.com/docs/python/environments#_environment-variables).

## Containers
Expand All @@ -264,7 +264,7 @@ List of *containers*:
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:latest` | 175 MB | Dev & Test latest version. |
| mjanez/ckan-pycsw| custom image | `mjanez/ckan-pycsw:main` | 175 MB | Stable version. |

>**Note**<br>
> [!NOTE]
> GHCR and Dev `Dockerfiles` using `main` images as base.

### Network ports settings
Expand Down