-
Notifications
You must be signed in to change notification settings - Fork 1
Updating Concept Alternative
Stuart Marshall edited this page Jan 21, 2025
·
1 revision
The concepts should be updated using Jupyter Hubs but if there is an issue with updating through there you can still generate the scripts and manually add these to the environment.
-
Download both the newly generated concept and the updated collection
-
Copy the data into one of the pods:
kubectl cp ~/Downloads/Letters_Licence.xml fat-crl-stg-archesproject-http-67fcfbcb9d-lzfvx:/tmp/output/Letters_Licence.xml
kubectl cp ~/Downloads/fat_simple_collections_2.xml fat-crl-stg-archesproject-http-67fcfbcb9d-lzfvx:/tmp/output/fat_simple_collections_2.xml
- Exec into the pod:
kubectl cp ~/Downloads/fat_simple_collections_2.xml fat-crl-stg-archesproject-http-67fcfbcb9d-lzfvx:/tmp/output/fat_simple_collections_2.xml
- Activate the virtual ENV
. ../ENV/bin/activate
- Load in the concepts first:
python manage.py packages -o import_reference_data -s /tmp/output/Letters_Designation.xml
- Once all the concepts are loaded reload the collections:
python manage.py packages -o import_reference_data -s /tmp/output/fat_simple_collections_2.xml -ow 'overwrite'
- You then need to reindex the database
python manage.py es reindex_database
The concepts should then be present in the RDM and be accessible