Skip to content

Commit

Permalink
remove reference to pycsw
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed May 28, 2024
1 parent 0962352 commit 8427d91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 41 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ckan-docker-image-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
- run: cp ./contrib/docker/.env.template ./contrib/docker/.env
- run: cp ./contrib/docker/production_root_url.ini ./contrib/docker/production.ini
- run: cp ./contrib/docker/who_root_url.ini ./contrib/docker/who.ini
- run: cp ./contrib/docker/pycsw/pycsw.cfg.template ./contrib/docker/pycsw/pycsw.cfg

- name: Set current date as TAG env variable for push requests
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
Expand Down
10 changes: 0 additions & 10 deletions contrib/docker/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ x-ckan: &ckan_app
- db
- solr
- redis
# - pycsw
ports:
- "0.0.0.0:${CKAN_PORT}:5000"
environment:
Expand Down Expand Up @@ -143,12 +142,3 @@ services:
volumes:
- redis_data:/data
#restart: always

# pycsw:
# container_name: pycsw
# image: geopython/pycsw
# ports:
# - "8000:8000"
# restart: always
# volumes:
# - ./pycsw/pycsw.cfg:/etc/pycsw/pycsw.cfg
30 changes: 0 additions & 30 deletions docs/INSTALL_CIOOS_CKAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- [Create config files](#create-config-files)
- [Installing CKAN as the root website](#installing-ckan-as-the-root-website)
- [Installing CKAN off the root of a website](#installing-ckan-off-the-root-of-a-website)
- [Configuring pyCSW](#configuring-pycsw)
- [Build CKAN](#build-ckan)
- [Create CKAN admin user](#create-ckan-admin-user)
- [Configure admin settings](#configure-admin-settings)
Expand All @@ -28,10 +27,6 @@
- [19115-3 WAF (ERDDAP)](#19115-3-waf-erddap)
- [CKAN](#ckan)
- [Reindex Harvesters](#reindex-harvesters)
- [Finish setting up pyCSW](#finish-setting-up-pycsw)
- [Test GetCapabilities](#test-getcapabilities)
- [Useful pyCSW commands](#useful-pycsw-commands)
- [Errors while pyCSW loading](#errors-while-pycsw-loading)
- [Update SOLR schema](#update-solr-schema)
- [Update CKAN](#update-ckan)
- [Update CKAN extensions](#update-ckan-extensions)
Expand Down Expand Up @@ -218,18 +213,6 @@ cp production_non_root_url.ini production.ini
cp who_non_root_url.ini who.ini
```

### Configuring pyCSW

Copy [pyCSW](https://pycsw.org/) config template file and update the database password.

The database password is the same password entered in your **.env** file

```bash
cd ~/ckan/contrib/docker/pycsw
cp pycsw.cfg.template pycsw.cfg
nano pycsw.cfg
```

## Build CKAN

Change to ckan docker config folder
Expand Down Expand Up @@ -341,12 +324,6 @@ Add the following to your sites configs to enable proxy:
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
</location>
# pycsw
<location /ckan/csw>
ProxyPass http://localhost:8000/pycsw/csw.js
ProxyPassReverse http://localhost:8000/pycsw/csw.js
</location>
```

or
Expand All @@ -362,12 +339,6 @@ or
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
</location>
# pycsw
<location /csw>
ProxyPass http://localhost:8000/pycsw/csw.js
ProxyPassReverse http://localhost:8000/pycsw/csw.js
</location>
```

### Redirect HTTP to HTTPS
Expand Down Expand Up @@ -743,7 +714,6 @@ docker cp src/ckanext-googleanalyticsbasic/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-cioos_harvest/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-harvest/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-spatial/ ckan:/usr/lib/ckan/venv/src/
docker cp src/pycsw/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-scheming/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-fluent/ ckan:/usr/lib/ckan/venv/src/
docker cp src/ckanext-dcat/ ckan:/usr/lib/ckan/venv/src/
Expand Down

0 comments on commit 8427d91

Please sign in to comment.