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

Improve documentation on content import #265

Merged
merged 6 commits into from
Apr 29, 2024
Merged
Changes from 1 commit
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
20 changes: 13 additions & 7 deletions rdmorganiser/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
RDMO catalog
============

This repository contains the content for [RDMO](https://github.com/rdmorganiser/rdmo) prepared by the [RDMO-Project](https://rdmorganiser.github.io).
This folder contains the content for [RDMO](https://github.com/rdmorganiser/rdmo) curated by the [RDMO-Project](https://rdmorganiser.github.io).
Zack-83 marked this conversation as resolved.
Show resolved Hide resolved

To install the catalog into a freshly installed instance of RDMO, use
Install content
---------------

The RDMO content objects (catalogs, attributes, options, conditions, views, tasks) depend on each other, as shown in the [documentation](https://rdmo.readthedocs.io/en/latest/management/data-model.html).

In particular, the installation of question catalogues requires the newest version of attributes, optionsets and conditions.

Therefore we suggest this sequence to install content in a RDMO instance:

```
./manage.py import /path/to/domain/rdmo.xml
./manage.py import /path/to/conditions/rdmo.xml # yes, again
./manage.py import /path/to/options/rdmo.xml
./manage.py import /path/to/conditions/rdmo.xml # yes, again
./manage.py import /path/to/questions/rdmo.xml
./manage.py import /path/to/tasks/rdmo.xml
./manage.py import /path/to/views/rdmo.xml
./manage.py import /path/to/conditions/rdmo.xml
./manage.py import /path/to/questions/<chosen_catalog>.xml
./manage.py import /path/to/tasks/<chosen_task>.xml
./manage.py import /path/to/views/<chosen_view>.xml
```

Use the same order when importing over the RDMO web interface.
Expand Down
Loading