Skip to content

Commit

Permalink
Add README file for 'ckan_to_gn.py'
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Jun 12, 2024
1 parent f403eb7 commit 02794a6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/ckan2gn/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### NOTES for building & running 'ckan_to_gn.py' as a standalone docker image

* Build
```
sudo docker build -t ckan2gn .
```

* Create .env file with 'CKAN2GN_CKAN_URL' 'CKAN2GN_GN_PASSWORD' 'CKAN2GN_GN_URL' 'CKAN2GN_GN_USERNAME' defined e.g.
```
CKAN2GN_CKAN_URL=https://myckan
CKAN2GN_GN_PASSWORD=secretblah
CKAN2GN_GN_URL=https://mygeonetwork
CKAN2GN_GN_USERNAME=username
```

* Run
```
sudo docker run --env-file .env --network host ckan2gn
```

0 comments on commit 02794a6

Please sign in to comment.