- Run
docker-compose up
to setup project. - Run
docker-compose run --rm web python manage.py migrate
- Clone content repo (https://collaborating.tuhh.de/itbh/tnt/digital-learning-lab/inhalte)
- Run
docker-compose run --rm web python manage.py import_content -f ./path-to-inhalte
Instruct solr to use the schema.xml
file:
- add
<schemaFactory class="ClassicIndexSchemaFactory"/>
in the solrconfig.xml - remove the
AddSchemaFieldsUpdateProcessorFactory
section fromsolrconfig.xml
(source)
python manage.py build_solr_schema -f solr/conf/schema.xml
from_import:
type: Bool
descr: created during import
contains the reviewer comments on the content fields
from_import:
type: Bool
descr: created during import