This will save SCKAN as JSON, formatted for map-knowldege.
$ python tools/sckan_connectivity.py --store-directory sckan load --sckan sckan-2024-09-21 --save$ source .venv/bin/activate
$ export KNOWLEDGE_USER=xxxxxx:xxxxxxx
$ PYTHONPATH=. python tools/pg_import.py json sckan/sckan-2024-09-21.json- Load updated SCKAN as JSON as above in a test
map-knowledgeenvironment. - Run
map-knowledgetests and example code as required. - In a test environment, update the CQ database as above.
- Configure a test
map-serverto use the test CQ database and run its CQ tests. - Update
mapknowledge.dbon servers with the new SCKAN, using the JSON version created above. - Add the new SCKAN to the staging CQ database (from JSON).
- Update flatmap manifests to use the new SCKAN and rebuild the maps (automatic, on push (tag??)).
- Map knowledge in the staging CQ database will be automatically updated when a map is rebuilt.
- At promotion time, update production databases (
mapknowledge.dband production CQ database). - At promotion time, copy rebuilt maps from staging to production -- map knowledge in the production CQ database will be automatically updated.